rail.tools.filter_tools module
- rail.tools.filter_tools.calc_lambda_effective_from_arrays(wl, tr)
Given arrays of wavelengths and transmission, compute the effective wavelength
- rail.tools.filter_tools.calc_lambda_effective_from_file(filepath)
Given a filter file (usually in rail_base examples_data), open the file and compute effective wavelength
- rail.tools.filter_tools.ccm_alam_over_ebv(wl)
implement the Cardelli, Clayton, & Mathis 1989 dust model the model gives ax and bx in terms of inverse microns, and gives A_lam/A_V = ax + bx/Rv This translates to Alam/E(B-V) = Rv * ax + bx CCM model assumes Rv = 3.1, so hardcode this! Input is wavelength in Angstroms Returns A_lambda/E(B-V) from the CCM model.