{"id":22668449,"url":"https://github.com/lanl/cosmicemu","last_synced_at":"2025-04-12T11:04:20.665Z","repository":{"id":49801907,"uuid":"88199464","full_name":"lanl/CosmicEmu","owner":"lanl","description":"Fast predictions for the matter power spectrum.","archived":false,"fork":false,"pushed_at":"2023-10-06T19:16:25.000Z","size":1572,"stargazers_count":11,"open_issues_count":1,"forks_count":6,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-06-27T00:19:32.092Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lanl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-13T19:32:11.000Z","updated_at":"2024-06-27T00:19:32.093Z","dependencies_parsed_at":"2022-09-15T05:41:40.164Z","dependency_job_id":null,"html_url":"https://github.com/lanl/CosmicEmu","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lanl%2FCosmicEmu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lanl%2FCosmicEmu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lanl%2FCosmicEmu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lanl%2FCosmicEmu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lanl","download_url":"https://codeload.github.com/lanl/CosmicEmu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228911888,"owners_count":17990774,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-09T15:15:14.657Z","updated_at":"2024-12-09T15:15:15.254Z","avatar_url":"https://github.com/lanl.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cosmic Emu\n\n![Emu](emu2.png)\n\n## Description\n\nThe Cosmic Emu produces predictions for the matter power spectrum based on eight cosmological parameters and redshift. These predictions, based on Gaussian process emulation, approximate the power spectra that would be obtained from large dark matter simulations. Details as follows:\n* The simulation and design details are provide in [_The Mira-Titan Universe: Precision Predictions for Dark Energy Surveys_](https://iopscience.iop.org/article/10.3847/0004-637X/820/2/108/pdf). \n* The emulator construction and performance details for the first power spectrum emulator based on a subset of 36 cosmological models, available in the `Deprecated-2017-Mira-Titan-II` folder, is described in [_The Mira-Titan Universe II. Matter Power Spectrum Emulation_](https://iopscience.iop.org/article/10.3847/1538-4357/aa86a9/pdf).\n* The updated final power spectrum emulator based on the full simulation suite, available in the `Current-2022-Mira-Titan-IV` folder, is described in [_The Mira-Titan Universe IV. High Precision Power Spectrum Emulation_](https://arxiv.org/abs/2207.12345). \n\nWe recommend using the current 2022 emulator rather than the deprecated 2017 version. Note that prior to July 2022, the only Cosmic Emu version available on this site was the 2017 Mira-Titan II version.\n\n## Getting Started\n\nThe Cosmic Emu requires the GNU Scientific Library (GSL). The makefile for both spectrum emulators includes lines to point to your installation of the GSL. The Cosmic Emu can produce predictions for the dark matter spectrum (P_cb) and the dark matter plus neutrino spectrum (P_tot). For each spectrum emulator, there are two files in addition to the makefile: emu.c and params.h. Simply type \"make\" at the command line to compile. The resulting program, emu.exe, is intended to be a demonstration of how to use the emu() and emuInit() functions. This program looks for a file called \"xstar.dat\" which should have nine space-delimited numbers on each line:\n\nomega_m   omega_b   sigma_8   h   n_s   w_0   w_a   omega_nu   z\n\nRunning \"emu.exe\" will produce a prediction, in its own file, for each line in xstar.dat (e.g. if xstar.dat has 10 lines of inputs, the code will produce 10 output files, each with a prediction for the corresponding line). \n\nThe ranges for the parameters are\n\nLower | Parameter | Upper\n------|-----------|------\n0.12  | omega_m   | 0.155\n0.0215| omega_b   | 0.0235\n0.7   | sigma_8   | 0.9\n0.55  | h         | 0.85\n0.85  | n_s       | 1.05\n-1.3  | w_0       | -0.7\n0.3   | (-w_0-w_a)^(1/4) | 1.29\n0.0   | omega_nu  | 0.01\n0.0   | z         | 2.02\n \nThe code will not produce a spectrum for parameters outside these ranges. Note that the range for w_a depends on w_0.\n\n## Copyright and License\n\nTriad National Security, LLC owns the copyright for this code. Please see LICENSE for copyright details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flanl%2Fcosmicemu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flanl%2Fcosmicemu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flanl%2Fcosmicemu/lists"}