synthpop.modules.extinction.nishiyama2009 ========================================= .. py:module:: synthpop.modules.extinction.nishiyama2009 .. autoapi-nested-parse:: Extinction law from Nishiyama et al (2009), for the direction of the Galactic center. We apply a a spline interpolation over the measurements provided in the paper. Valid from 1.2 to 8.0 microns. Source DOI: 10.1088/0004-637X/696/2/1407 Classes ------- .. autoapisummary:: synthpop.modules.extinction.nishiyama2009.Nishiyama2009 Module Contents --------------- .. py:class:: Nishiyama2009(**kwargs) Bases: :py:obj:`synthpop.modules.extinction._extinction.ExtinctionLaw` Extinction law from Nishiyama et al. 2009 Using a spline interpolation to estimate the extinction between 2.214 microns and 7.60 microns Use Alambda prop lambda^-2.0 for lambda l below 2 microns .. py:attribute:: extinction_law_name :value: 'Nishiyama2009' .. py:attribute:: law_ref_wavelength :value: 2.14 .. py:attribute:: min_wavelength :value: 1.2 .. py:attribute:: max_wavelength :value: 8.0 .. py:method:: determine_parameters() :staticmethod: creates an interpolation to the table data. .. py:method:: Alambda_Aref(eff_wavelength: float or np.ndarray) -> 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]