C2000¶
- class paintbox.C2000(wave, unit=None)[source] [edit on github]¶
Bases:
paintbox.sed.PaintboxBaseCalzetti et al. (2000) extinction law.
The extinction laws are calculated using a dust screen model, returning the ratio
\begin{equation} \frac{f_\lambda}{f_\lambda^0}= 10^{-0.4 A_V \left (1 + \kappa_\lambda / R_V\right )} \end{equation}- Parameters
- wave: numpy.ndarray, astropy.quantities.Quantity
Wavelength array
- unit: str, optional
Units can be specified in the form of a string. Defalt is Angstrom.
Methods Summary
__call__(theta)Returns the dust screen model attenuation.
gradient(theta)Gradient of the extinction law.
Methods Documentation
- __call__(theta)[source] [edit on github]¶
Returns the dust screen model attenuation.
- Parameters
- theta: numpy.ndarray
Array with values of Av and Rv.
- gradient(theta)[source] [edit on github]¶
Gradient of the extinction law.
- Parameters
- theta: numpy.ndarray
Array with values of Av and Rv.