BaryonComponent#
- class astropy.cosmology.traits.BaryonComponent[source]#
Bases:
objectThe cosmology has attributes and methods for the baryon density.
Methods Summary
Ob(z)Return the density parameter for baryonic matter at redshift
z.Methods Documentation
- Ob(z)[source]#
Return the density parameter for baryonic 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.
- Returns:
- Ob
ndarray The density of baryonic matter relative to the critical density at each redshift.
- Ob