Description Usage Arguments Value Author(s) See Also Examples
View source: R/profitUtility.R
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.
1 2 | profitMag2Mu(mag = 15, re = 1, axrat = 1, pixscale = 1)
profitMu2Mag(mu = 17, re = 1, axrat = 1, pixscale = 1)
|
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. |
profitMag2Mu returns the mean surface brightness within Re of the 2D Sersic profile.
profitMag2Mu returns total magnitude of the 2D Sersic profile.
Aaron Robotham
1 2 | profitMag2Mu(mag=22, re=10, axrat=0.5)
profitMu2Mag(mu=28, re=10, axrat=0.5)
|
Loading required package: FITSio
Loading required package: LaplacesDemon
Loading required package: magicaxis
Loading required package: MASS
Loading required package: plotrix
Loading required package: sm
Package 'sm', version 2.2-5.4: type help(sm) for summary information
Attaching package: 'sm'
The following object is masked from 'package:MASS':
muscle
Loading required package: mapproj
Loading required package: maps
Loading required package: celestial
Loading required package: RANN
Loading required package: NISTunits
Loading required package: pracma
Attaching package: 'pracma'
The following object is masked from 'package:sm':
nile
The following objects are masked from 'package:LaplacesDemon':
Mode, logit, loglog
Loading required package: R2Cuba
Loading required package: RColorBrewer
[1] 28.24287
[1] 21.75713
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.