S07_attenuation¶
- class pahfit.component_models.S07_attenuation(tau_sil=1.0, **kwargs)[source]¶
Bases:
Fittable1DModel
Smith, Draine, et al. (2007) kvt attenuation model calculation. Calculation is for a fully mixed geometrically model. Uses an extinction curve based on the silicate profiles from Kemper, Vriend, & Tielens (2004, apJ, 609, 826). Constructed as a weighted sum of two components: silicate profiles, and an exponent 1.7 power-law.
Attenuation curve for a mixed case calculated from .. math:
Att(x) = \frac{1 - e^{-\tau_{x}}}{\tau_{x}}
- Parameters:
- kvt_ampfloat
amplitude
Attributes Summary
Names of the parameters that describe models of this type.
Methods Summary
evaluate
(in_x, tau_si)Evaluate the model on some input variables.
kvt
(in_x)Output the kvt extinction curve
Attributes Documentation
- param_names = ('tau_sil',)¶
Names of the parameters that describe models of this type.
The parameters in this tuple are in the same order they should be passed in when initializing a model of a specific type. Some types of models, such as polynomial models, have a different number of parameters depending on some other property of the model, such as the degree.
When defining a custom model class the value of this attribute is automatically set by the
Parameter
attributes defined in the class body.
- tau_sil = Parameter('tau_sil', value=1.0, bounds=(0.0, 10))¶
Methods Documentation