uvex_transients.utils.cosmology#

Cosmological utility functions.

Functions

age_to_redshift(age[, cosmology])

Compute the redshift corresponding to a given cosmic age.

angular_to_physical(theta[, redshift, cosmology])

Convert an angular size to a physical transverse size.

core_collapse_rate(z[, imf])

Compute the volumetric core-collapse supernova rate.

core_collapse_rate_coefficient([cosmology, imf])

Return the (redshift-independent) normalization of the total volumetric core-collapse SNe rate.

core_collapse_rate_shape(z[, shape])

Return the dimensionless redshift shape of the core-collapse SNe rate, normalized to 1 at z=0.

get_cosmology([cosmology])

Return the cosmology to be used for calculations.

physical_to_angular(size[, redshift, cosmology])

Convert a physical transverse size to an angular size.

redshift_to_age(z[, cosmology])

Compute the age of the universe at a given redshift.

redshift_to_lookback_time(z[, cosmology])

Compute the lookback time corresponding to a given redshift.

resolve_cosmological_distances([redshift, ...])

Resolve cosmological distance measures and redshift.

star_formation_rate(z[, shape, imf])

Compute the cosmic star formation rate density.

supernovae_Ia_rate(z, cosmology, dtd_slope, ...)

Compute the volumetric Type Ia supernova rate.