MatterComponent#

class astropy.cosmology.traits.MatterComponent[source]#

Bases: object

The cosmology has attributes and methods for the matter density.

Methods Summary

Om(z, /)

Return the density parameter for non-relativistic matter at redshift z.

Methods Documentation

Om(z, /)[source]#

Return the density parameter for non-relativistic matter at redshift z.

Parameters:
zQuantity-like [‘redshift’], numpy:array_like

Input redshift.

Changed in version 7.0: Passing z as a keyword argument is deprecated.

Changed in version 8.0: z must be a positional argument.

Returns:
Omndarray

The density of non-relativistic matter relative to the critical density at each redshift.

Notes

This does not include neutrinos, even if non-relativistic at the redshift of interest.