FUNCTION  fCosmoQuantities

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

Parameters:
  • @zMin float: redshift lower bound
  • @zMax float: redshift upper bound
  • @NumBin int: number of bins, at whose boundaries all the values are evaluated. Number of rows returned = @NUmBin + 1.
  • @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 table (z float, Dc float, Dm float, Da float, Dl float, Dh float, ComVol float, LookBackTime float, AgeOfUniverse float) where
  • z: redshift
  • Dc: line of sight comoving distance in MPc.
  • Dm: transverse comoving distance in MPc.
  • Da: angular diameter distance in MPc.
  • Dl: luminosity distance in MPc.
  • Dh: hubble distance in MPc.
  • ComVol: comoving volume in GPc^3.
  • LookBackTime: look back time at z in GYr.
  • AgeOfUniverse: age of the universe at z in GYr.
    select * from fCosmoQuantities(0,5,1000,0.27891507,0.721,8.493e-5,-1,0.701);select * from fCosmoQuantities(0,5,1000,DEFAULT,DEFAULT,DEFAULT,DEFAULT,DEFAULT)
  • Input and output parameters

    nametypelengthinoutpnum
    @NumBinint4input3
    @zMinfloat8input1
    @zMaxfloat8input2
    @OmegaMfloat8input4
    @OmegaLfloat8input5
    @OmegaRfloat8input6
    @omega0float8input7
    @h_0float8input8
    zfloat8output1
    Dcfloat8output2
    Dmfloat8output3
    Dafloat8output4
    Dlfloat8output5
    Dhfloat8output6
    ComVolfloat8output7
    LookBackTimefloat8output8
    AgeOfUniversefloat8output9