Monochromatic#

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

Monochromatic type of spectrum.

By default, monochromatic spectrum wavelength is set to be 550.

Parameters:
monochromaticansys.api.speos.spectrum.v1.spectrum_pb2.Monochromatic

Monochromatic protobuf object to modify.

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

If defined the values in the Monochromatic 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_monochromatic method available in Spectrum classes.

Overview#

wavelength

Property the wavelength of the spectrum.

Import detail#

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

Property detail#

property Monochromatic.wavelength: float#

Property the wavelength of the spectrum.

Parameters:
valuefloat

Wavelength of the spectrum.

Returns:
float

Wavelength of the spectrum.