FUNCTION  fCosmoAbsMag

Returns the absolute magnitude of a galaxy at a particular redshift.

Parameters:
  • @m float: aparent magnitude of the object
  • @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 AbsMag: absolute magnitude
    select dbo.fCosmoAbsMag(17.5,0.1,0.27891507,0.721,8.493e-5,-1,0.701);select dbo.fCosmoAbsMag(17.5,0.1,DEFAULT,DEFAULT,DEFAULT,DEFAULT,DEFAULT)
    return -20.8155123821697 and -20.8155123821697
    see also fCosmoDistanceModulus
  • Input and output parameters

    nametypelengthinoutpnum
     float8input0
    @mfloat8input1
    @zfloat8input2
    @OmegaMfloat8input3
    @OmegaLfloat8input4
    @OmegaRfloat8input5
    @omega0float8input6
    @h_0float8input7