fm_unred: Deredden a flux vector using the Fitzpatrick (1999)...

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Deredden a flux vector using the Fitzpatrick (1999) parameterization

Usage

1
2
fm_unred(wave, flux, ebv, r_v = 3.1, avglmc=FALSE, lmc2=FALSE, x0=NULL,  
gamma=NULL, c4=NULL, c3=NULL, c2=NULL, c1=NULL)

Arguments

wave

wavelength in Angstroms, scalar or N-vector

flux

calibrated flux vector, scalar or N-vector

ebv

color excess E(B-V), scalar

r_v

ratio of total to selected extinction, (optional, default=3.1

avglmc

if set to TRUE, then the default fit parameters (c1,c2,c3,c4,gamma,x0) are set to the average values determined for reddening in the general Large Magellanic Cloud (LMC) field by Misselt et al. (1999), (optional)

lmc2

if set to TRUE, then the fit parameters are set to the values determined for the LMC2 field (including 30 Dor) by Misselt et al. Note that neither /AVGLMC or /LMC2 will alter the default value of R_V which is poorly known for the LMC.

x0

Centroid of 2200 A bump in microns (optional, default = 4.596)

gamma

Width of 2200 A bump in microns (optional, default = 0.99)

c4

FUV curvature (optional, default = 0.41)

c3

Strength of the 2200 A bump (optional, default = 3.23)

c2

Slope of the linear UV extinction component (optional, default = -0.824 + 4.717/R)

c1

Intercept of the linear UV extinction component (optional, default = 2.030 - 3.007*c2)

Details

The Galactic extinction curve is given by Fitzpatrick & Massa (FM, 1999). Parameterization is valid from the infrared to the far-ultraviolet (3.5 microns to 0.1 microns). The ultraviolet extinction curve is extrapolated down to 912 Angstroms. Many sightlines with peculiar ultraviolet interstellar extinction can be represented with the FM curve, if the proper value of R(V) is supplied.

When the inputs omit extinction curve parameters (x0, gamma, c4, c3, c2, and c1) then the default extinction curve is adopted from Clayton et al. (2003).

The parameter R_V specifies the ratio of total to selective extinction, R(V) = A(V) / E(B - V). Extreme values of R(V) range from 2.3 to 5.3, and the default is 3.1.

If a negative ebv is supplied, then fluxes will be reddened rather than dereddened.

The following comparisons between the FM curve and that of Cardelli, et al. (CCM, 1989) have been made (see function ccm_unred):
a) In the ultraviolet, the FM and CCM curves are similar for R < 4.0, but diverge for larger R
b) In the optical region, the FM more closely matches the monochromatic extinction, especially near the R band

Value

extcurve

E(wavelength - V)/E(B-V) extinction curve, interpolated onto the input wavelength vector

Author(s)

Written W. Landsman Raytheon STX October, 1998

R adaptation by Arnab Chakraborty June 2013

References

Cardelli, J.A., Clayton, G. C., Mathis, J. S., 1989, The relationship between infrared, optical, and ultraviolet extinction, Astrophys. J. 345, 245-256. http://adsabs.harvard.edu/abs/1989ApJ...345..245C

Clayton, G. C., Wolff, M. J., Sofia, U. J., Gordon, K. D., Misselt, K. A., 2003, Dust grain size distributions from MRN to MEM, Astrophys. J., 588, 871-880. http://adsabs.harvard.edu/abs/2003ApJ...588..871C

Fitzpatrick, E. L., 1999, Correcting the effects of interstellar extinction, Publ. Astron. Soc. Pacific, 111, 63-75. http://adsabs.harvard.edu/abs/1999PASP..111...63F

Misselt, K. A., Clayton, G. C., Gordon, K. D., 1999, A reanalysis of the ultraviolet extinction from interstellar dust in the Large Magellanic Cloud, Astrophys. J. 515, 128-139. http://adsabs.harvard.edu/abs/1999ApJ...515..128M

See Also

polyidl spline

Examples

1
2
3
w <- 1200 + seq(50, 2000, by=50)  # wavelength vector
f <- rep(1, length(w))   # flat initial spectrum
fm_unred(w, f, ebv=0.1)

Example output

$funred
 [1] 2.833325 2.782521 2.737507 2.697819 2.663159 2.633395 2.608580 2.588983
 [9] 2.575147 2.653934 2.654860 2.666252 2.691117 2.733395 2.797415 2.885615
[17] 2.992631 3.096091 3.155174 3.135424 3.042290 2.913845 2.785583 2.674500
[25] 2.583936 2.511483 2.453417 2.406343 2.367583 2.335135 2.292759 2.247791
[33] 2.201380 2.154442 2.107699 2.061707 2.016889 1.973558 1.931935 1.892174

$extcurve
 [1] -1.969259 -1.988904 -2.006612 -2.022468 -2.036507 -2.048710 -2.058990
 [8] -2.067177 -2.072995 -2.040275 -2.039896 -2.035247 -2.025169 -2.008244
[15] -1.983108 -1.949404 -1.909867 -1.872966 -1.852442 -1.859259 -1.891999
[22] -1.938834 -1.987710 -2.031893 -2.069296 -2.100174 -2.125572 -2.146606
[29] -2.164237 -2.179220 -2.199104 -2.220610 -2.243262 -2.266663 -2.290479
[36] -2.314433 -2.338295 -2.361875 -2.385019 -2.407598

astrolibR documentation built on May 2, 2019, 3:26 a.m.