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_c – float representing the cold dark matter density fraction.

  • Omega_b – float representing the baryonic matter density fraction.

  • h – float representing Hubble constant divided by 100 km/s/Mpc; unitless.

  • n_s – float representing the primordial scalar perturbation spectral index.

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

  • Omega_k – float representing the curvature density fraction.

  • w0 – float representing the first order term of dark energy equation.

  • wa – float 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