Barak 0.3.2 documentation

barak.sed.get_extinction

«  barak.sed.get_bands   ::   Contents   ::   barak.sed.mag2Jy  »

barak.sed.get_extinction

barak.sed.get_extinction(filename=None, airmass=1.0)[source]

return the atmospheric extinction from the given file.

returns extinction = 10^(0.4 * extinction_in_mags * airmass),

where flux_true = flux_extincted * extinction

«  barak.sed.get_bands   ::   Contents   ::   barak.sed.mag2Jy  »