sweep_step_wavelength

sweep_step_wavelength#

method

TSL550.sweep_step_wavelength(val: float = None) float[source]#

Set the size of each step in the stepwise sweep.

If a new value is not provided, the current one will be returned.

The valid range is 0.0001 - 160 (nm) with a minimum step of 0.0001 nm.

Parameters:
valfloat, optional

The step size in the stepwise sweep in nanometers.

Returns:
float

The set step size in a stepwise sweep in nm.

Examples

>>> laser.sweep_step_wavelength()
1.0
>>> laser.sweep_step_wavelength(2.2)
2.2