next up previous
Next: Return values of magmax Up: Function magmax.pro Previous: Function magmax.pro

  
Calling sequence of magmax

The calling sequence for magmax is:

result = magmax(z,$\Omega_M$, $\Omega_\Lambda$,[H0=x1],[Mb=x2],[mscript=x3],[w=y],/band,[/silent])

Parameters in [ ] are optional. y is a value for w ( $-1 \leq y \leq 0$). For ``normal'' physics, use w = -1. z can be a scalar or an array. If it is scalar, result is a scalar magnitude. If z is an array, result is an array with the corresponding magnitude for each z value in the array. The parameters $\Omega_M$, $\Omega_\Lambda$ must be specified. 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 $ km/(Mpc\,\, s)$ if you don't specify it. H0 has always to be given in terms of $ km/(Mpc\,\, s)$. 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 $ km/(Mpc\,\, s)$). If w is omitted, it is internally set to -1. /band specifies the filter for which the magnitude will be calculated. Possible choices are:

Band Keyword
U /u
B /b
V /v
R /r
I /i
J /j
H /hb
K /k

For more information on the filters, see section 2.4 below. IMPORTANT: Note that you can only specify one filter per call to magmax! If you want the magnitudes in several bands, you have to use one call to magmax for each band.
The keyword /silent suppresses the printout of the parameters after magmax was called.


next up previous
Next: Return values of magmax Up: Function magmax.pro Previous: Function magmax.pro
Peter E. Nugent Jr.
1998-10-01