config.load_data¶
-
config.load_data(data_type)¶ Loads data from downloaded files.
Parameters: - data_type : {‘binning’, ‘dep_tf’, ‘ics_tf’, ‘struct’, ‘hist’, ‘f’, ‘pppc’, ‘exc’}
Type of data to load. The options are:
- ‘binning’ – Default binning for all transfer functions;
- ‘dep_tf’ – Transfer functions for propagating photons and deposition into low-energy photons, low-energy electrons, high-energy deposition and upscattered CMB energy rate;
- ‘ics_tf’ – Transfer functions for ICS for scattered photons in the Thomson regime, relativistic regime, and scattered electron energy-loss spectrum;
- ‘struct’ – Structure formation boosts;
- ‘hist’ – Baseline ionization and temperature histories;
- ‘f’ – \(f_c(z)\) fractions without backreaction; and
- ‘pppc’ – Data from PPPC4DMID for annihilation spectra. Specify the primary channel in primary.
- ‘exc’ – cross-sections for e- H(1s) -> e- H(2s) or e- H(np) where n is within 2 through 10.
Returns: - dict
A dictionary of the data requested.
See also
