FUNCTION  fCosmoDc

Returns the line of sight comoving distance at a given redshift.

Parameters:
  • @z float: redshift
  • @OmegaM float: matter density. If set as DEFAULT, then 0.27891507
  • @OmegaL float: dark energy density. If set as DEFAULT, then 0.721
  • @OmegaR float: radiation density. If set as DEFAULT, then 8.493e-5
  • @omega0 float: dark energy state equation. If set as DEFAULT, then -1
  • @h_0 float: (hubble constant[Km/s/MPc])/(100[Km/s/MPc]). If set as DEFAULT, then 0.701 Reference: http://lambda.gsfc.nasa.gov/product/map/dr3/pub_papers/fiveyear/cosmology/wmap_5yr_cosmo.pdf
  • returns Dc float: line of sight comoving distance in MPc.
    select dbo.fCosmoDc(0.1,0.27891507,0.721,8.493e-5,-1,0.701);select dbo.fCosmoDc(0.1,DEFAULT,DEFAULT,DEFAULT,DEFAULT,DEFAULT)
    return 418.513808057104 and 418.513808057104
    see also fCosmoZfromDc
  • Input and output parameters

    nametypelengthinoutpnum
     float8input0
    @zfloat8input1
    @OmegaMfloat8input2
    @OmegaLfloat8input3
    @OmegaRfloat8input4
    @omega0float8input5
    @h_0float8input6