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’, or None. gal3 and None are same as mwavg and used for testing only.

ebvfloat or Quantity

\(E(B-V)\) value in magnitude. See synphot.reddening.ReddeningLaw.extinction_curve().

Returns
extcurvesynphot.reddening.ExtinctionCurve

Extinction curve.