BlackBody1D

class synphot.models.BlackBody1D(*args, **kwargs)[source]

Bases: astropy.modeling.Fittable1DModel

Create a blackbody spectrum model with given temperature.

Parameters:
temperature : float

Blackbody temperature in Kelvin.

Attributes Summary

lambda_max Peak wavelength in Angstrom when the curve is expressed as power density.
param_names
temperature

Methods Summary

evaluate(x, temperature) Evaluate the model.
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',)
temperature

Methods Documentation

static evaluate(x, temperature)[source]

Evaluate the model.

Parameters:
x : number or ndarray

Wavelengths in Angstrom.

temperature : number

Temperature in Kelvin.

Returns:
y : number or ndarray

Blackbody radiation in PHOTLAM per steradian.

sampleset(factor_bbox=10.0, num=1000)[source]

Return x array that samples the feature.

Parameters:
factor_bbox : float

Factor for bounding_box calculations.

num : int

Number of points to generate.