The calling sequence for calc_dm is:
result = calc_dm(z,,
,H0=x,w=y)
where x is a value for the hubble constant and y is a value for w (
). For ``normal'' physics, use w = -1 (see section IIA above). z can be a scalar or an array. If it is scalar, result is a scalar distance modulus. If z is an array, result is an array with the corresponding distance modulus for each z value in the array. The parameters
,
must be specified, whereas H0 and w can be omitted. H0 has to be given in terms of
.
If omitted, H0 is internally set to 50. If w is omitted, it is internally set to -1.