deredden_interstellar¶
Deredden a spectrum for interstellar dust : F_0 = F / 10^(−0.4 A(λ)), CCM89 / F99 / G23.
| Category | Corrections |
| Backend | dust_extinction |
| Version | 1.0.0 |
| Reads | ctx.spectrum (a Spectrum1D) |
| Writes | spectrum, metrics.a_v, metrics.deredden_factor_median |
F_0(λ) = F(λ) / extinguish(λ) with extinguish(λ) = 10^(−0.4 · E(B−V) · R_V · A(λ)/A_V) from dust_extinction.parameter_averages.
Parameters¶
| Parameter | Default | Required | Description |
|---|---|---|---|
ebv |
None |
yes | Colour excess E(B−V) in magnitudes (≥ 0). |
rv |
3.1 |
- | Total-to-selective extinction ratio R_V = A_V / E(B−V) (3.1 diffuse ISM). |
law |
'CCM89' |
- | Extinction law : 'CCM89' (default), 'F99' or 'G23'. |
Use it¶
References¶
- Cardelli, Clayton & Mathis 1989, ApJ 345, 245 — CCM89 R_V-dependent extinction law (default).
- Fitzpatrick 1999, PASP 111, 63 — F99 law.
- Gordon et al. 2023, ApJ 950, 86 — G23 law (912 Å – 32 μm).
- dust_extinction (astropy affiliated), https://dust-extinction.readthedocs.io — the package that evaluates the laws (wrapped, not re-implemented).
Related algorithms¶
air_to_vacuum- Convert the wavelength axis from air to vacuum wavelengths.atmospheric_extinction_correct- Remove atmospheric extinction : F_0 = F · 10^(0.4 · k(λ) · X) with a mean site curve.barycentric_correction- Compute the barycentric (or heliocentric) correction and Julian date, and shift the spectrum.doppler_shift- Doppler-shift the wavelength axis by a radial velocity.extinction_correct_easyspec- Apply atmospheric extinction correction toctx.spectrumvia easyspec.fit_telluric_scaling- Fit the airmass that best matches a telluric template toctx.spectrum.remove_telluric_division- Remove telluric absorption by dividing the science spectrum by a reference.synth_telluric- Generate a synthetic telluric transmission spectrum.vacuum_to_air- Convert the wavelength axis from vacuum to air wavelengths.