FUNCTION  fCosmoTimeInterval

Returns the time interval between redshifts zMin and zMax.

Parameters:
  • @zMin float: redshift
  • @zMax 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 TimeInterval float: time interval in GYr.
    select dbo.fCosmoTimeInterval(0.1,5,0.27891507,0.721,8.493e-5,-1,0.701);select dbo.fCosmoTimeInterval(0.1,5,DEFAULT,DEFAULT,DEFAULT,DEFAULT,DEFAULT)
    return 11.2234721194364 and 11.2234721194364
    see also fCosmoLookBackTime and fCosmoAgeOfUniverse
  • Input and output parameters

    nametypelengthinoutpnum
     float8input0
    @zMinfloat8input1
    @zMaxfloat8input2
    @OmegaMfloat8input3
    @OmegaLfloat8input4
    @OmegaRfloat8input5
    @omega0float8input6
    @h_0float8input7