Codes to model the enrichment of the IGM, generate skewers of the CIV forest with Nyx and Cloudy simulations, analyze their auto-correlation, model and mask CGM absorbers, and perform forecasting on the model parameters with MCMC.
cloudy_run/cloudy_grid*.in- scripts to run Cloudy modelscloudy_run/cloudy_utils.py- functions to automatically generate cloudy scripts, read in cloudy outputs, and compute the ionization fraction of a metal ionhalos_skewers.py- extract the halo catalogs from Nyx simulation and create models of the metal distributionmetal_frac_skewers.py- create skewers of ionic fraction by interpolating Cloudy outputs on Nyx skewersprodrun_create_tau_skewers.py- create the metal-line forest skewers for the uniform enrichment modelprodrun_metal_skewers.enrichment.py- create the metal-line forest skewers for the inhomogeneous enrichment modelmetal_corrfunc.py- compute the CIV correlation functionciv_cgm.py- modeling the abundance of CGM absorbers based on existing observationsciv_find_new.py- automated detection and masking of CGM absorberscompute_model_grid_civ_new.py- generate mock datasets and compute their covariances for all models (note: this code lives at https://github.com/enigma-igm/enigma/enigma/reion_forest/)mcmc_inference.py- performing inference using MCMC samplermisc.py- various convenience functions