Reference/API#
astropy.cosmology Package#
Cosmology with Astropy.
cosmology contains classes and functions for cosmological distance
measures and other cosmology-related calculations.
See the Cosmological Calculations (astropy.cosmology) for more detailed usage examples and references.
Functions#
  | 
Find the redshift   | 
  | 
Return element-wise equality check on the cosmologies.  | 
Classes#
  | 
Base-class for all Cosmologies.  | 
Mixin class for flat cosmologies.  | 
|
  | 
An isotropic and homogeneous (Friedmann-Lemaitre-Robertson-Walker) cosmology.  | 
Mixin class for flat FLRW cosmologies.  | 
|
  | 
FLRW cosmology with a cosmological constant and curvature.  | 
  | 
FLRW cosmology with a cosmological constant and no curvature.  | 
  | 
FLRW cosmology with a constant dark energy EoS and curvature.  | 
  | 
FLRW cosmology with a constant dark energy EoS and no spatial curvature.  | 
  | 
FLRW cosmology with a CPL dark energy EoS and curvature.  | 
  | 
FLRW cosmology with a CPL dark energy EoS and no curvature.  | 
  | 
FLRW cosmology with a variable dark energy EoS and curvature.  | 
  | 
FLRW cosmology with a variable dark energy EoS and no curvature.  | 
  | 
FLRW cosmology with a CPL dark energy EoS, a pivot redshift, and curvature.  | 
  | 
FLRW cosmology with a CPL dark energy EoS, a pivot redshift, and no curvature.  | 
  | 
Cosmological parameter (descriptor).  | 
The default cosmology to use.  |