SimplekAbsoluteMags
- zdm.optical.SimplekAbsoluteMags(App, k, zs)[source]
Convert apparent to absolute magnitudes with a power-law k-correction.
Inverse of
SimplekApparentMags: subtracts the distance modulus and k-correction2.5 * k * log10(1 + z)from the apparent magnitude.- Parameters:
- Returns:
- absolute 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 (NApp, Nz) if both are arrays (computed via
np.outer).
- Return type:
AbsoluteMags