icecube_tools.cosmology module

icecube_tools.cosmology.E_fac(z)

E(z) = sqrt(Om * (1+z)^3)

Parameters:

z (float) – Redshift

Returns:

E(z)

Rtype float:

icecube_tools.cosmology.comoving_distance(z)

Comoving distance.

Parameters:

z (float) – Redshift

Returns:

Comoving distance in Mpc

Rtype float:

icecube_tools.cosmology.differential_comoving_volume(z)

Differential comoving volume.

Parameters:

z (float) – Redshift

Returns:

Differential comoving volume in Mpc^3

Return type:

float

icecube_tools.cosmology.luminosity_distance(z)

Luminosity distance based on approximation used in Adachi & Kasai 2012.

Parameters:

z (float) – Redshift

Returns:

Luminosity distance in Mpc

Return type:

float

icecube_tools.cosmology.phi(x)

Helper function for the computation of icecube_tools.cosmology.luminosity_distance().

icecube_tools.cosmology.xx(z)

Helper function for the computation of icecube_tools.cosmology.luminosity_distance().