profitMag2Mu: Magnitude to Surface Brightness Conversions
Description
Functions to convert total magnitudes to surface brightness and vica-versa. These are provided to allow models to be either specified by total magnitude or mean surface brightness within Re. The latter is a useful way of specifying a disk model since surface brightness does not span a huge range.
Mean surface brightness within Re of the 2D Sersic profile.
re
Effective radii of the 2D Sersic profile.
axrat
Axial ratio of Sersic profile defined as minor-axis/major-axis, i.e. 1 is a circle and 0 is a line.
pixscale
The pixel scale, where pixscale=asec/pix (e.g. 0.4 for SDSS). If set to 1, then the surface brightness is interpreted in terms of pixels, otherwise it is interpreted in terms of arcseconds^2.
Value
profitMag2Mu returns the mean surface brightness within Re of the 2D Sersic profile.
profitMag2Mu returns total magnitude of the 2D Sersic profile.