Methods & Properties#
This page contains a list of all individual protocols for methods and properties. The names of these protocols are of the form Has<Attribute>.
At a higher level of abstraction, groups of related attributes form components.
- class HasAge#
Bases:
Protocol[Array,InputT]The object has an age method.
Methods
age(z, /)Age of the universe at redshift
zin Gyr.
- class HasAngularDiameterDistance#
Bases:
Protocol[Array,InputT]The object has an angular diameter distance method.
Methods
Angular diameter distance \(d_A\) in Mpc.
- class HasComovingDistance#
Bases:
Protocol[Array,InputT]The object has a comoving distance method.
Methods
Comoving line-of-sight distance \(d_c\) in Mpc.
- class HasComovingVolume#
Bases:
Protocol[Array,InputT]The object has a comoving volume method.
Methods
Comoving volume \(V_c\) in Mpc3.
- class HasCriticalDensity#
Bases:
Protocol[Array,InputT]The object has a critical density method.
Methods
critical_density(z, /)Redshift-dependent critical density in Msol Mpc-3.
- class HasCriticalDensity0#
Bases:
Protocol[Array]The object has a critical density attribute – \(\rho_{\rm crit}\).
Attributes
Critical density at z = 0 in Msol Mpc-3.
- class HasDifferentialComovingVolume#
Bases:
Protocol[Array,InputT]The object has a differential comoving volume method.
Methods
Differential comoving volume in Mpc3 per steradian.
- class HasH#
Bases:
Protocol[Array,InputT]The object has a Hubble parameter method – \(H(z)\).
Methods
H(z, /)Hubble parameter \(H(z)\) in km s-1 Mpc-1.
- class HasH0#
Bases:
Protocol[Array]The object has a Hubble parameter attribute – \(H_0\).
Attributes
Hubble parameter at redshift 0 in km s-1 Mpc-1.
- class HasHoverH0#
Bases:
Protocol[Array,InputT]The object has a standardized Hubble parameter method – \(E(z)\).
Methods
H_over_H0(z, /)Standardised Hubble function \(E(z) = H(z)/H_0\).
- class HasHubbleDistance#
Bases:
Protocol[Array]The object has a Hubble distance attribute.
Attributes
Hubble distance in Mpc.
- class HasHubbleTime#
Bases:
Protocol[Array]The object has a Hubble time attribute.
Attributes
Hubble time in Gyr.
- class HasLookbackDistance#
Bases:
Protocol[Array,InputT]The object has a lookback distance method.
Methods
Lookback distance \(d_T\) in Mpc.
- class HasLookbackTime#
Bases:
Protocol[Array,InputT]The object has a lookback time method.
Methods
Lookback time in Gyr.
- class HasLuminosityDistance#
Bases:
Protocol[Array,InputT]The object has a luminosity distance method.
Methods
Redshift-dependent luminosity distance \(d_L\) in Mpc.
- class HasMNu#
Bases:
Protocol[Array]The object has a neutrino mass(es) attribute.
Attributes
Neutrino mass(es) in eV.
- class HasNeff#
Bases:
Protocol[Array]The object has an attribute for the effective number of neutrino species.
Attributes
Effective number of neutrino species.
- class HasOmegaB#
Bases:
Protocol[Array,InputT]The object has a baryon density method.
Methods
Omega_b(z, /)Redshift-dependent baryon density parameter.
- class HasOmegaB0#
Bases:
Protocol[Array]The object has a baryon density attribute – \(Omega_b\).
Attributes
Omega baryon; the baryon density/critical density at z=0.
- class HasOmegaDE#
Bases:
Protocol[Array,InputT]The object has a dark energy density method.
Methods
Omega_de(z, /)Redshift-dependent dark energy density parameter.
- class HasOmegaDE0#
Bases:
Protocol[Array]The object has a dark energy density attribute – \(Omega_{\rm de}\).
Attributes
Omega dark energy; the dark energy density/critical density at z=0.
- class HasOmegaDM#
Bases:
Protocol[Array,InputT]The object has a dark matter density method.
Methods
Omega_dm(z, /)Redshift-dependent dark matter density parameter.
- class HasOmegaDM0#
Bases:
Protocol[Array]The object has a dark matter density attribute – \(Omega_{\rm dm}\).
Attributes
Omega dark matter; the dark matter density/critical density at z=0.
- class HasOmegaGamma#
Bases:
Protocol[Array,InputT]The object has a photon density method.
Methods
Omega_gamma(z, /)Redshift-dependent photon density parameter.
- class HasOmegaGamma0#
Bases:
Protocol[Array]The object has a photon density attribute – \(Omega_\gamma\).
Attributes
Omega gamma; the photon density/critical density at z=0.
- class HasOmegaK#
Bases:
Protocol[Array,InputT]The object has a curvature density method.
Methods
Omega_k(z, /)Redshift-dependent curvature density parameter.
- class HasOmegaK0#
Bases:
Protocol[Array]The object has a curvature density attribute – \(Omega_K\).
Attributes
Omega curvature; the effective curvature density/critical density at z=0.
- class HasOmegaM#
Bases:
Protocol[Array,InputT]The object has a matter density method.
Methods
Omega_m(z, /)Redshift-dependent matter density parameter.
- class HasOmegaM0#
Bases:
Protocol[Array]The object has a matter density attribute – \(Omega_m\).
Attributes
Omega matter; the matter density/critical density at z=0.
- class HasOmegaNu#
Bases:
Protocol[Array,InputT]The object has a neutrino density method.
Methods
Omega_nu(z, /)Redshift-dependent neutrino density parameter.
- class HasOmegaNu0#
Bases:
Protocol[Array]The object has a neutrino density attribute – \(Omega_\nu\).
Attributes
Omega neutrino; the neutrino density/critical density at z=0.
- class HasOmegaTot#
Bases:
Protocol[Array,InputT]The object has a total density method.
Methods
Omega_tot(z, /)Redshift-dependent total density parameter.
- class HasOmegaTot0#
Bases:
Protocol[Array]The object has a total density attribute – \(Omega_{\rm tot}\).
Attributes
Omega total; the total density/critical density at z=0.
- class HasProperDistance#
Bases:
Protocol[Array,InputT]The object has a proper distance method.
Methods
Proper distance \(d\) in Mpc.
- class HasProperTime#
Bases:
Protocol[Array,InputT]The object has a proper time method.
Methods
Proper time \(t\) in Gyr.
- class HasScaleFactor#
Bases:
Protocol[Array,InputT]The object contains a scale factor method.
Methods
scale_factor(z, /)Redshift-dependenct scale factor.
- class HasScaleFactor0#
Bases:
Protocol[Array]The object contains a scale factor, described by \(a_0\).
Attributes
Scale factor at z=0.
- class HasTCMB#
Bases:
Protocol[Array,InputT]The object contains a background temperature method.
Methods
T_cmb(z, /)CMB temperature in K at redshift z.
- class HasTCMB0#
Bases:
Protocol[Array]The object contains a background temperature – \(T_{CMB}\).
Attributes
CMB temperature in K at z=0.