BaseAttModel

class dust_attenuation.baseclasses.BaseAttModel(*args, meta=None, name=None, **kwargs)[source]

Bases: astropy.modeling.Fittable1DModel

Base Attenuation Model. Do not use.

Methods Summary

attenuate(x)

Calculate the attenuation as a fraction

Methods Documentation

attenuate(x)[source]

Calculate the attenuation as a fraction

Parameters
x: float

expects either x in units of wavelengths or frequency or assumes wavelengths in [micron]

internally microns are used

Returns
frac_att: np array (float)

fractional attenuation as a function of x