Spectral#

class ansys.speos.core.sensor.BaseSensor.Spectral(sensor_type_spectral, default_parameters=None, stable_ctr=False)#

Type of sensor : Spectral.

This kind of sensor will generate color results and spectral data separated by wavelength in lx or W/m2. By default, it uses a default wavelengths range.

Parameters:
sensor_type_spectralansys.api.speos.sensor.v1.common_pb2.SensorTypeSpectral

SensorTypeSpectral protobuf object to modify.

default_parametersansys.speos.core.generic.parameters.SpectralParameters, optional

If defined the values in the sensor 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_type_spectral method available in sensor classes.

Overview#

set_wavelengths_range

Set the range of wavelengths.

Import detail#

from ansys.speos.core.sensor.BaseSensor import Spectral

Method detail#

Spectral.set_wavelengths_range()#

Set the range of wavelengths.

Returns:
ansys.speos.core.sensor.BaseSensor.WavelengthsRange

Wavelengths range.