Database¶
The tabulation of the halo correlation functions can be computationally demanding. Therefore, many results are available as part of the TabCorr database. You can interact with the data from within TabCorr via the tabcorr.database() module. For this to work, the environment variable TABCORR_DATABASE needs to be set. This can be done via export TABCORR_DATABASE=<PATH>, where <PATH> is the path containing the database folders, e.g. the AemulusAlpha folder. See the following code snippet for basic usage.
Example¶
from tabcorr import database
from halotools.empirical_models import PrebuiltHodModelFactory
# Load the TabCorr tabulation for the redshift-space monopole for the first
# simulation, B00, of the AemulusAlpha simulation suite at redshift 0.25.
halotab = database.read('AemulusAlpha', 0.25, 'xi0', i_cosmo=0,
tab_config='default')
# Get information about the tabulation, i.e., the radial bins.
s_bins = database.configuration('default')['s_bins']
# Get the cosmology of that simulation.
cosmo = database.cosmology('AemulusAlpha', i_cosmo=0)
# Build the model.
model = PrebuiltHodModelFactory(
'zheng07', prim_haloprop_key='halo_m200m', redshift=0.25)
# Add the phase-space parameters in addition to the occupation parameters of
# the Zheng07 occupation model. See Lange et al. (2023) for a definition of
# these parameters. Note that log_eta is the logarithm base 10 of the parameter
# conc_gal_bias in BiasedNFWPhaseSpace.
model.param_dict['alpha_c'] = 0
model.param_dict['alpha_s'] = 1.0
model.param_dict['log_eta'] = 0
# Predict the clustering.
halotab.predict(model)
Products¶
The following data products are avilable on zenodo. This database may be expanded in the future. If you’re interested in additional simulations, redshifts, or other configurations, please open an issue on the TabCorr Github page.
Suite |
Simulation |
Cosmologies |
Phases |
Redshifts |
Statistics |
Configurations |
|---|---|---|---|---|---|---|
AemulusAlpha |
— |
0-39 |
— |
0.25, 0.40 |
\(w_{\rm p}\), \(\xi_{0, 2, 4}\), \(\Delta\Sigma\) |
default |
AemulusAlpha |
— |
0-39 |
— |
0.55 |
\(w_{\rm p}\), \(\xi_{0, 2, 4}\) |
aemulus |
AbacusSummit |
Base |
all[1] |
0 |
0.5 |
\(w_{\rm p}\), \(\xi_{0, 2, 4}\), \(\Delta\Sigma\) |
efficient |
AbacusSummit |
Base |
all[1] \(\Lambda\)CDM with \(\sum m_\nu = 0.06 \, \mathrm{eV}\) |
0 |
0.2, 0.3, 0.4, 0.8[2] |
\(w_{\rm p}\), \(\Delta\Sigma\) |
efficient |
AbacusSummit |
High |
0 |
100 |
0.2, 0.3, 0.4, 0.5, 0.8 |
\(w_{\rm p}\), \(\Delta\Sigma\) |
efficient |
Please have a look at the scripts folder in the GitHub repository, particularly parse_snapshot.py and tabulate_snapshot.py, to understand how these are generated.
Attribution¶
If you’re using the data from AemulusAlpha in your published work, you must cite DeRose et al. (2019) for creating these simulations. Similarly, if you use AbacusSummit, please cite Maksimova et al. (2021), Garrison et al. (2021), and Hadzhiyska et al. (2021). In all cases, I would appreciate a reference to Lange et al. (2023) where I created the tabulated correlation functions.