WavelengthsRange
#
- class ansys.speos.core.sensor.BaseSensor.WavelengthsRange(wavelengths_range, default_values=True, stable_ctr=False)#
Range of wavelengths.
By default, a range from 400nm to 700nm is chosen, with a sampling of 13.
- Parameters:
- Parameters:
Notes
Do not instantiate this class yourself, use set_wavelengths_range method available in sensor classes.
Overview#
Set the minimum wavelength of the range. |
|
Set the maximum wavelength of the range. |
|
Set the sampling of wavelengths range. |
Import detail#
from ansys.speos.core.sensor.BaseSensor import WavelengthsRange
Method detail#
- WavelengthsRange.set_start(value=400)#
Set the minimum wavelength of the range.
- Parameters:
- value
float
Minimum wavelength (nm). By default,
400
.
- value
- Returns:
ansys.speos.core.sensor.BaseSensor.WavelengthsRange
WavelengthsRange.
- WavelengthsRange.set_end(value=700)#
Set the maximum wavelength of the range.
- Parameters:
- value
float
Maximum wavelength (nm). By default,
700
.
- value
- Returns:
ansys.speos.core.sensor.BaseSensor.WavelengthsRange
WavelengthsRange.
- WavelengthsRange.set_sampling(value=13)#
Set the sampling of wavelengths range.
- Parameters:
- value
int
Number of wavelengths to be taken into account between the minimum and maximum wavelengths range. By default,
13
.
- value
- Returns:
ansys.speos.core.sensor.BaseSensor.WavelengthsRange
WavelengthsRange.