Blackbody#

class ansys.speos.core.spectrum.Spectrum.Blackbody(blackbody, default_parameters=None, stable_ctr=False)#

Blackbody type of spectrum.

By default, Blackbody temperature is set to be 2856.

Parameters:
blackbodyansys.api.speos.spectrum.v1.spectrum_pb2.Blackbody

Blackbody protobuf object to modify.

default_parametersOptional[ ansys.speos.core.generic.parameters.SpectrumBlackBodyParameters] = None

If defined the values in the Blackbody instance will be overwritten by the values of the data class

stable_ctrbool

Variable to indicate if usage is inside class scope

Parameters:

Notes

Do not instantiate this class yourself, use set_blackbody method available in Spectrum classes.

Overview#

temperature

Property the temperature of the spectrum.

Import detail#

from ansys.speos.core.spectrum.Spectrum import Blackbody

Property detail#

property Blackbody.temperature: float#

Property the temperature of the spectrum.

Parameters:
valuefloat

Temperature of the spectrum.

Returns:
float

Temperature of the spectrum.