SimplekApparentMags
- zdm.optical.SimplekApparentMags(Abs, k, zs)[source]
Convert absolute to apparent magnitudes with a power-law k-correction.
Applies the distance modulus plus a k-correction of the form
2.5 * k * log10(1 + z).- Parameters:
- Returns:
- apparent magnitude(s). Scalar if both inputs are
scalar; 1-D array if one is scalar and one is an array; 2-D array of shape (NAbs, Nz) if both are arrays (computed via
np.outer).
- Return type:
ApparentMags