config.load_data¶
-
config.load_data(data_type, verbose=1)¶ Loads data from downloaded files.
Parameters: - data_type : {‘binning’, ‘dep_tf’, ‘hed_tf’, ‘tf_helper’, ‘ics_tf’, ‘struct’, ‘hist’, ‘f’, ‘pppc’}
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;
- ‘hed_tf’ – Transfer functions for high-energy deposition only;
- ‘tf_helper’ – Helper functions used in reconstructing transfer functions (from neural network);
- ‘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.
- verbose : {0, 1}
Set verbosity.
Returns: - dict
A dictionary of the data requested.
See also
