ClassCosmo
-
class
aquila_borg.cosmo.
ClassCosmo
Builds a new object ClassCosmo. It relies on the embedded CLASS (https://class-code.net) to compute the primordial gravitational potential and/or density fluctuations.
- Parameters
params (CosmologicalParameters) – The cosmological parameters to use to precompute the transfer function
-
getCosmology
(self: aquila_borg._borg.cosmo.ClassCosmo) → Dict[str, float] - Returns
dict of string/double pairs, corresponding to each cosmological parameters.
-
get_Tk
(self: aquila_borg._borg.cosmo.ClassCosmo, k: numpy.ndarray[numpy.float64]) → object - Parameters
k (numpy,float,array) – Mode where to compute the transfer function at (in h/Mpc)
- Returns
numpy array of the transfer function at each k
- Throws:
RuntimeError if beyond range of validity
Methods
|
|
|
|
|
|