25#ifndef PHYSICSUTILS_PHYSICSUTILS_COSMOLOGICALDISTANCES_H_
26#define PHYSICSUTILS_PHYSICSUTILS_COSMOLOGICALDISTANCES_H_
31namespace PhysicsUtils {
73 double relative_precision = 0.0000001)
const;
virtual ~CosmologicalDistances()=default
double hubbleParameter(double z, const CosmologicalParameters ¶meters) const
Returns the (unit-less) Hubble parameter E(z)
double hubbleDistance(const CosmologicalParameters ¶meters) const
Get the computed Hubble distance for the cosmology.
double transverseComovingDistance(double z, const CosmologicalParameters ¶meters) const
return the transverse comoving distance in [pc]
double comovingDistance(double z, const CosmologicalParameters ¶meters, double relative_precision=0.0000001) const
return the comoving distance in [pc]. This value is obtained through a numerical integration....
double distanceModulus(double z, const CosmologicalParameters ¶meters) const
return the correction for the Magnitude due to the distance: DM =5*log_10(DL/10pc)
double luminousDistance(double z, const CosmologicalParameters ¶meters) const
return the luminous distance in [pc]. For z=0 the returned value is 10pc.
double dimensionlessComovingVolumeElement(double z, const CosmologicalParameters ¶meters) const
return the dimensionless comoving volume element.
Model the cosmological parameters. Omega_m, Omega_lambda, Omega_k and hubble_constant....