onepower.hmi.CosmologyBase#
- class onepower.hmi.CosmologyBase(*args, **kwargs)[source]#
A cosmology base class.
Methods
__init__
([z_vec, h0, omega_c, omega_b, w0, ...])clone
(**kwargs)Create and return an updated clone of the current object.
f_Mead
(x, y, p0, p1, p2, p3)Fitting function from Mead et al. 2021 (2009.01858), eq A3, used in \(\delta_c\) and \(\Delta_{\rm v}\) calculations.
get_all_parameter_defaults
([recursive])Dictionary of all parameters and defaults.
Yield all parameter names in the class.
get_dependencies
(*q)Determine all parameter dependencies of the quantities in q.
parameter_info
([names])Prints information about each parameter in the class.
Obtain a list of all available output quantities.
update
(**kwargs)Update parameters of the framework with kwargs.
validate
()Perform validation of the input parameters as they relate to each other.
Attributes
Overdensity \(\Delta_{\rm v}\) fitting function from Mead et al. 2021 (2009.01858), eq A.2.
Effective number of neutrino species.
Return the astropy cosmology object assuming Flatw0waCDM model.
The critical overdensity for collapse \(\delta_c\) fitting function from Mead et al. 2021 (2009.01858).
Calculates the accumulated growth at scale factor 'a'.
Return the Mead growth factor at the scale factors.
Solve the linear growth ODE and returns an interpolating function for the solution.
Hubble parameter (small h).
Log10 of AGN temperature.
Neutrino mass.
Spectral index.
Baryon density parameter.
Cold dark matter density parameter.
Matter density parameter.
Dictionary of all parameters and their current values
Return the scale factor.
Amplitude of matter fluctuations on 8 Mpc scales.
Temperature of the CMB.
Dark energy equation of state parameter.
Dark energy equation of state parameter.
Array of redshifts.