profitMag2Mu: Magnitude to Surface Brightness Conversions

Description Usage Arguments Value Author(s) See Also Examples

View source: R/profitMag2Mu.R

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

1
2
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.

Author(s)

Aaron Robotham

See Also

profitMakeModel

Examples

1
2
profitMag2Mu(mag=22, re=10, axrat=0.5)
profitMu2Mag(mu=28, re=10, axrat=0.5)

ProFit documentation built on May 29, 2017, 5:37 p.m.