synthpop.modules.extinction.fitzpatrick2009 =========================================== .. py:module:: synthpop.modules.extinction.fitzpatrick2009 .. autoapi-nested-parse:: Extinction law from Fitzpatrick & Massa (2009), where an alternative to a lower law model allows for good fit among many lines of sight when the free parameters are varied appropriately. Function dependent on R_V and alpha parameters, typically alpha~2.5 and R_V=3 (our defualt), or alpha~1.8, R_V~5. Valid from 0.5-3 microns. Source DOI: 10.1088/0004-637X/699/2/1209 Classes ------- .. autoapisummary:: synthpop.modules.extinction.fitzpatrick2009.Fitzpatrick2009 Module Contents --------------- .. py:class:: Fitzpatrick2009(R_V: float = 3.1, alpha: float = 2.5, **kwargs) Bases: :py:obj:`synthpop.modules.extinction._extinction.ExtinctionLaw` Extinction law from Fitzpatrick et al. (2009) Attributes ------- R_V=3.1 : float optical total-to-selective extinction ratio alpha=2.5 : float exponent in extinction law function .. py:attribute:: extinction_law_name :value: 'Fitzpatrick2009' .. py:attribute:: law_ref_wavelength :value: 0.549 .. py:attribute:: R_V :value: 3.1 .. py:attribute:: alpha :value: 2.5 .. py:attribute:: min_wavelength :value: 0.5 .. py:attribute:: max_wavelength :value: 3.0 .. 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]