synthpop.modules.extinction.o_donnell1994 ========================================= .. py:module:: synthpop.modules.extinction.o_donnell1994 .. autoapi-nested-parse:: Extinction Law from O'Donnell (1994), which builds from the Cardelli et al. (1989) law. Valid from 0.25 to 3.5 microns Source DOI: 10.1086/173713 Classes ------- .. autoapisummary:: synthpop.modules.extinction.o_donnell1994.ODonnell1994 Module Contents --------------- .. py:class:: ODonnell1994(R_V: float = 3.1, **kwargs) Bases: :py:obj:`synthpop.modules.extinction._extinction.ExtinctionLaw` Extinction law from O'Donnell (1994) Attributes ------- R_V=3.1 : float optical total-to-selective extinction ratio .. py:attribute:: extinction_law_name :value: 'ODonnell1994' .. py:attribute:: law_ref_wavelength :value: 0.549 .. py:attribute:: R_V :value: 3.1 .. 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]