The calling sequence for magt is:
result=magt(z,t,s,,
,[H0=x1],[Mb=x2],[mscript=x3],[w=y],/filter,[/silent],[/snframe]
Parameters in [ ] are optional. z is the redshift (scalar), t is the time offset from maximum in days (e.g. 10 for 10 days after peak of light curve, -3 for 3 days before peak of lightcurve). t can be scalar or an array. The parameter s is the stretch factor, ,
describe the cosmology.
If you use the parameter H0, magmax uses a B band magnitude for the normalisation of the spectrum of -19.46 mag. If you want to change this, use the parameter Mb (x2 has to be the new normalisation magnitude). You can also specify Mb alone, then H0 is set to 63
if you don't specify it.
H0 has always to be given in terms of
. Instead of using H0 and Mb, you can use the parameter mscript (mscript=Mb-5 log H0 +25). If you don't make use of mscript, Mb or H0, the default is used (Mb=-19.46 and H0 = 63
).
If w=y is used then y is constrained by
If omitted, w is internally set to -1. /filter has to be one of the following:
Band | Keyword |
R | /r |
I | /i |