synthpop.modules.extinction.cardelli1989 ======================================== .. py:module:: synthpop.modules.extinction.cardelli1989 .. autoapi-nested-parse:: Extinction Law from Cardelli, Clayton, and Mathis (1989). Valid from 0.125 to 3.5 microns. R_V-dependent function, with default R_V=3.1. Source DOI: 10.1086/167900 Classes ------- .. autoapisummary:: synthpop.modules.extinction.cardelli1989.Cardelli1989 Module Contents --------------- .. py:class:: Cardelli1989(R_V: float = 3.1, **kwargs) Bases: :py:obj:`synthpop.modules.extinction._extinction.ExtinctionLaw` Extinction law from Cardelli et al. (1989) Attributes ------- R_V=3.1 : float optical total-to-selective extinction ratio .. py:attribute:: extinction_law_name :value: 'Cardelli1989' .. py:attribute:: law_ref_wavelength :value: 0.549 .. py:attribute:: R_V :value: 3.1 .. py:attribute:: min_wavelength :value: 0.125 .. 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]