sweep_end_wavelength

sweep_end_wavelength#

method

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

Sets the end wavelength of a sweep.

Sets the ending wavelength for subsequent sweeps. If no value is specified, the current ending wavelength setting is returned.

Minimum step size is 0.0001 nm.

Parameters:
valfloat, optional

The ending value of the wavelength sweep in nanometers.

Returns:
float

The current sweep end wavelength in nm.

Examples

>>> laser.sweep_end_wavelength()
1630.0
>>> laser.sweep_end_wavelength(1618)
1618.0