SimpleApparentMags

zdm.optical.SimpleApparentMags(Abs, zs)[source]

Function to convert galaxy absolue to apparent magnitudes.

Nominally, magnitudes are r-band magnitudes, but this function is so simple it doesn’t matter.

Just applies a distance correction - no k-correction.

Parameters:
  • Abs (float or array of floats) – intrinsic galaxy luminosities

  • zs (float or array of floats) – redshifts of galaxies

Returns:

NAbs x NZ array of magnitudes, where these

are the dimensions of the inputs

Return type:

ApparentMags