py21cmsense.conversions

Common 21 cm conversions.

Provides conversions between observing co-ordinates and cosmological co-ordinates.

Functions

X2Y(z[, cosmo, Om0, Tcmb0, Neff, m_nu, Ob0])

Obtain the conversion factor between observing co-ordinates and cosmological volume.

dL_df(z[, cosmo, Om0, Tcmb0, Neff, m_nu, Ob0])

Return the factor to convert a bandwidth to a line-of-sight distance in Mpc/h at redshift z

dL_dth(z[, cosmo, Om0, Tcmb0, Neff, m_nu, Ob0])

Return the factor to convert radians to transverse distance at redshift z

dk_deta(z[, cosmo, Om0, Tcmb0, Neff, m_nu, Ob0])

Return factor to convert eta (FT of freq.; in 1/GHz) to line of sight k mode in h/Mpc at redshift z

dk_du(z[, cosmo, Om0, Tcmb0, Neff, m_nu, Ob0])

Return the factor to convert a baseline length in wavelengths (at the frequency corresponding to redshift z) into a transverse k mode in h/Mpc at redshift z

f2z(fq)

Convert frequency to redshift for 21 cm line.

z2f(z)

Convert redshift to z=0 frequency for 21 cm line.