firecrown.connector.mapping.MappingCLASS#
- class firecrown.connector.mapping.MappingCLASS(*, require_nonlinear_pk=False)[source]#
Bases:
Mapping
This class is not yet implemented.
This stub is here to satisfy IDEs that complain about using the names of missing classes.
- Parameters:
require_nonlinear_pk (
bool
) –
Public Methods:
Inherited from
Mapping
__init__
(*[, require_nonlinear_pk])- param require_nonlinear_pk:
Return the names of the expected cosmological parameters for this mapping.
transform_k_h_to_k
(k_h)Transform the given k_h (k over h) to k.
transform_p_k_h3_to_p_k
(p_k_h3)Transform the given \(p_k h^3 \to p_k\).
Transform distances h to \(h/h_0\).
set_params
(*, Omega_c, Omega_b, h[, A_s, sigma8])Sets the cosmological constants suitable a pyccl.core.CosmologyCalculator.
Converts redshift to scale factor.
Converts power spectrum from redshift to scale factor.
asdict
()Return a dictionary containing the cosmological constants.
get_H0
()Return the value of H0.