FlatFLRWMixin

class astropy.cosmology.FlatFLRWMixin(*args, **kw)[source]

Bases: astropy.cosmology.FlatCosmologyMixin

Mixin class for flat FLRW cosmologies. Do NOT instantiate directly. Must precede the base class in the multiple-inheritance so that this mixin’s __init__ proceeds the base class’. Note that all instances of FlatFLRWMixin are flat, but not all flat cosmologies are instances of FlatFLRWMixin. As example, LambdaCDM may be flat (for the a specific set of parameter values), but FlatLambdaCDM will be flat.

Attributes Summary

Ode0

Omega dark energy; dark energy density/critical density at z=0.

Otot0

Omega total; the total density/critical density at z=0.

is_flat

Return True, the cosmology is flat.

Methods Summary

Otot(z)

The total density parameter at redshift z.

Attributes Documentation

Ode0

Omega dark energy; dark energy density/critical density at z=0.

Otot0

Omega total; the total density/critical density at z=0.

is_flat

Return True, the cosmology is flat.

Methods Documentation

Otot(z)[source]

The total density parameter at redshift z.

Parameters
zQuantity-like [‘redshift’], array_like, or Number

Input redshifts.

Returns
Ototndarray or float

Returns float if input scalar. Value of 1.