Learn R Programming

ProFit (version 1.3.3)

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.

Usage

profitMag2Mu(mag = 15, re = 1, axrat = 1, pixscale = 1)
profitMu2Mag(mu = 17, re = 1, axrat = 1, pixscale = 1)

Arguments

mag

Total magnitude of the 2D Sersic profile.

mu

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.

See Also

profitMakeModel

Examples

Run this code
# NOT RUN {
profitMag2Mu(mag=22, re=10, axrat=0.5)
profitMu2Mag(mu=28, re=10, axrat=0.5)
# }

Run the code above in your browser using DataLab