synthpop.modules.extinction.SODC ================================ .. py:module:: synthpop.modules.extinction.SODC .. autoapi-nested-parse:: Extinction law that pulls from Surot et al. (2020) to modify the IR end of the extinction law of O'Donnell (1994) / Cardelli et al. (1989). Valid from: 0.25 to 3.5 microns Reference DOIs: 10.1086/167900, 10.1086/173713, 10.1051/0004-6361/202038346 Derived by Marz Newman Classes ------- .. autoapisummary:: synthpop.modules.extinction.SODC.SODC Module Contents --------------- .. py:class:: SODC(R_V: float = 3.1, alpha: float = 2.255, **kwargs) Bases: :py:obj:`synthpop.modules.extinction._extinction.ExtinctionLaw` New combination extinction law Attributes ------- R_V=3.1 : float optical total-to-selective extinction ratio alpha=2.255 : float power law index .. py:attribute:: extinction_law_name :value: 'NewExtLaw' .. py:attribute:: law_ref_wavelength :value: 0.549 .. py:attribute:: R_V :value: 3.1 .. py:attribute:: alpha :value: 2.255 .. py:attribute:: min_wavelength :value: 0.25 .. py:attribute:: max_wavelength :value: 3.5 .. py:method:: Alambda_Aref(eff_wavelength: float) -> float Given an effective wavelength lambda_eff, calculate the extinction ratio A_lambda/A_ref Parameters ---------- eff_wavelength : float wavelength to compute extinction ratio at [microns]