BlackBody¶
-
class
specviz.analysis.BlackBody(temp=5000, norm=1.0, **kwargs)[source]¶ Bases:
astropy.modeling.core.Fittable1DModelProduce a blackbody flux spectrum.
Note that the wave and flux arrays used to Quantity
Notes
See
Fittable1DModelfor further details on modeling and all possible parameters that can be passed in.Description of the blackbody function itself is described in
blackbodyAttributes Summary
normparam_namestempMethods Summary
evaluate(x, temp, norm)Evaluate the blackbody for a given temperature over a wavelength range. Attributes Documentation
-
norm¶
-
param_names= ('temp', 'norm')¶
-
temp¶
Methods Documentation
-
evaluate(x, temp, norm)[source]¶ Evaluate the blackbody for a given temperature over a wavelength range.
Parameters: - x (numpy.ndarray) – The wavelengths to evaulate over.
- temp (float) – The temperature to evualate at.
- norm (float) – The normalization factor.
Returns: blackbody_flux – The blackbody flux.
Return type:
-