BlackBody

class specviz.analysis.BlackBody[source] [edit on github]

Bases: astropy.modeling.Fittable1DModel

Produce a blackbody flux spectrum.

Note that the wave and flux arrays used to Quantity

Notes

See Fittable1DModel for further details on modeling and all possible parameters that can be passed in.

Description of the blackbody function itself is described in blackbody

Attributes Summary

norm
param_names
temp

Methods 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] [edit on github]

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: numpy.ndarray

The blackbody flux.