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_spectral
ansys.api.speos.sensor.v1.common_pb2.SensorTypeSpectral SensorTypeSpectral protobuf object to modify.
- default_parameters
ansys.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
- sensor_type_spectral
- Parameters:
sensor_type_spectral (ansys.api.speos.sensor.v1.common_pb2.SensorTypeSpectral)
default_parameters (Union[None, ansys.speos.core.generic.parameters.SpectralParameters])
stable_ctr (bool)
Notes
Do not instantiate this class yourself, use set_type_spectral method available in sensor classes.
Overview#
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.WavelengthsRangeWavelengths range.