The focus in this module is at present on calculations of distances in
a given cosmology. The parameters for the cosmological model are set
using the variables OMEGA_M0, OMEGA_L0, OMEGA_R0, H0 in the module
namespace (see below for details).
float
|
dl(z)
Calculates the luminosity distance in Mpc at redshift z. |
source code
|
|
float
|
da(z)
Calculates the angular diameter distance in Mpc at redshift z. |
source code
|
|
float
|
dm(z)
Calculates the transverse comoving distance (proper motion distance)
in Mpc at redshift z. |
source code
|
|
float
|
dVcdz(z)
Calculates the line of sight comoving volume element per steradian
dV/dz at redshift z. |
source code
|
|
float
|
dl2z(distanceMpc)
Calculates the redshift z corresponding to the luminosity distance
given in Mpc. |
source code
|
|
float
|
dc2z(distanceMpc)
Calculates the redshift z corresponding to the comoving distance
given in Mpc. |
source code
|
|
float
|
t0()
Calculates the age of the universe in Gyr at z=0 for the current set
of cosmological parameters. |
source code
|
|
float
|
tz(z)
Calculates the age of the universe at redshift z for the current set
of cosmological parameters. |
source code
|
|
float
|
tl2z(tlGyr)
Calculates the redshift z corresponding to lookback time tlGyr given
in Gyr. |
source code
|
|
float
|
tz2z(tzGyr)
Calculates the redshift z corresponding to age of the universe tzGyr
given in Gyr. |
source code
|
|
float
|
absMag(appMag,
distMpc)
Calculates the absolute magnitude of an object at given luminosity
distance in Mpc. |
source code
|
|
float
|
Ez(z)
Calculates the value of E(z), which describes evolution of the Hubble
parameter with redshift, at redshift z for the current set of
cosmological parameters. |
source code
|
|
float
|
Ez2(z)
Calculates the value of E(z)^2, which describes evolution of the
Hubble parameter with redshift, at redshift z for the current set of
cosmological parameters. |
source code
|
|
float
|
|
float
|
|
float
|
|
float
|
DeltaVz(z)
Calculates the density contrast of a virialised region ΔV(z),
assuming a ΛCDM-type flat cosmology. |
source code
|
|
float
|
RVirialXRayCluster(kT,
z,
betaT)
Calculates the virial radius (in Mpc) of a galaxy cluster at redshift
z with X-ray temperature kT, assuming self-similar evolution and a
flat cosmology. |
source code
|
|