BlackBody1D¶
- class synphot.models.BlackBody1D(*args, **kwargs)[source]¶
Bases:
Fittable1DModel
Create a blackbody spectrum model with given temperature.
- Parameters:
- temperaturefloat
Blackbody temperature in Kelvin.
Attributes Summary
Peak wavelength in Angstrom when the curve is expressed as power density.
Names of the parameters that describe models of this type.
Methods Summary
evaluate
(x, temperature)Evaluate the model.
integrate
(*args)sampleset
([factor_bbox, num])Return
x
array that samples the feature.Attributes Documentation
- lambda_max¶
Peak wavelength in Angstrom when the curve is expressed as power density.
- param_names = ('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 = Parameter('temperature', value=5000.0)¶
Methods Documentation