coolest.template.classes.cosmology#

Classes#

Cosmology

Defines the cosmological model.

Module Contents#

class Cosmology(H0: float, Om0: float, astropy_name: str = 'FlatLambdaCDM')[source]#

Defines the cosmological model. Currently, only FlatLambdaCDM from astropy is supported, based on H0 and Omega_m.

Parameters:
  • H0 (float) – Hubble constant, in km/s/Mpc

  • Om0 (float) – Matter density at present time

  • astropy_name (str, optional) – astropy model name, by default ‘FlatLambdaCDM’

H0[source]#
Om0[source]#
astropy_name = 'FlatLambdaCDM'[source]#