ebmvx¶
- stsynphot.spectrum.ebmvx(redlaw_name, ebv)[source]¶
Convenience function to create extinction curve for given reddening law and \(E(B-V)\).
- Parameters:
- redlaw_namestr
Reddening law model name (see
synphot.reddening.ReddeningLaw.from_extinction_model()
). Choose from ‘lmc30dor’, ‘lmcavg’, ‘mwavg’, ‘mwdense’, ‘mwrv21’, ‘mwrv40’, ‘smcbar’, ‘xgalsb’, ‘gal3’, orNone
.gal3
andNone
are same asmwavg
and used for testing only.- ebvfloat or
Quantity
\(E(B-V)\) value in magnitude. See
synphot.reddening.ReddeningLaw.extinction_curve()
.
- Returns:
- extcurve
synphot.reddening.ExtinctionCurve
Extinction curve.
- extcurve