FUNCTION  fCosmoDistances

Returns a table of redshifts and the corresponding values of the cosmological distances and comoving volume.

Parameters:
  • @zMin float --/D redshift lower bound
  • @zMax float --/D redshift upper bound ,li. @NumBin int --/D number of bins, at whose boundaries all the values are evaluated.
  • Returns table (z float, Dc float, Dm float, Da float, Dl float, Dh float, ComVol float)
  • --/D z: redshift
  • --/D Dc: line of sight comoving distance --/U MPc.
  • --/D Dm: transverse comoving distance --/U MPc.
  • --/D Da: angular diameter distance --/U MPc.
  • --/D Dl: luminosity distance --/U MPc.
  • --/D Dh: hubble distance --/U MPc.
  • --/D ComVol: comoving volume --/U GPc^3.
    select * from dbo.fCosmoDistances(0,5,50)
    see also fCosmoQuantities
  • Input and output parameters

    nametypelengthinoutpnum
    @NumBinint4input3
    @zMinfloat8input1
    @zMaxfloat8input2
    zfloat8output1
    Dcfloat8output2
    Dmfloat8output3
    Dafloat8output4
    Dlfloat8output5
    Dhfloat8output6
    ComVolfloat8output7