BlackBody1D¶
- class pahfit.component_models.BlackBody1D(amplitude, temperature, **kwargs)[source]¶
Bases:
Fittable1DModel
A blackbody component.
Current astropy BlackBody1D does not play well with Lorentz1D and Gauss1D maybe, need to check again, possibly a units issue
Attributes Summary
Names of the parameters that describe models of this type.
Methods Summary
evaluate
(x, amplitude, temperature)Attributes Documentation
- amplitude¶
- param_names = ('amplitude', 'temperature')¶
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.
- temperature¶
Methods Documentation