distance.comoving {CRAC} | R Documentation |
compute the comoving distance (line-of-sight) [Mpc/h]
distance.comoving(z, cosmo, z0 = 0, ...)
z |
redshift upper limit |
cosmo |
cosmological parameter list |
z0 |
redshift lower limit |
... |
pass to integrate() to control integration accuracy. |
Comoving distance from z_0(=0) to z to z [Mpc/h]
Equation (15) in [H99]
distance.comoving(0.2,parameter.fidcosmo,z0=0.3) sapply(seq(0,1,0.1),function (x) distance.comoving(x,parameter.fidcosmo))