flowpm.cosmology

class flowpm.cosmology.Cosmology(Omega_c, Omega_b, h, n_s, sigma8, Omega_k, w0, wa)[source]

Bases: object

Cosmology object, stores primary and derived cosmological parameters.

Parameters
  • Omega_cfloat representing the cold dark matter density fraction.

  • Omega_bfloat representing the baryonic matter density fraction.

  • hfloat representing Hubble constant divided by 100 km/s/Mpc; unitless.

  • n_sfloat representing the primordial scalar perturbation spectral index.

  • sigma8float representing the variance of matter density perturbations at an 8 Mpc/h scale.

  • Omega_kfloat representing the curvature density fraction.

  • w0float representing the first order term of dark energy equation.

  • wafloat representing the second order term of dark energy equation of state.

property Omega
property Omega_b

Baryonic matter density fraction.

property Omega_c

Cold dark matter density fraction.

property Omega_de
property Omega_k
property Omega_m
property h
property k
property n_s
property sigma8
property sqrtk
to_dict()[source]
property w0
property wa