sweep_speed#
method
- TSL550.sweep_speed(val: float = None) float[source]#
Set the speed of the continuous sweep, in nm/s.
If a new value is not provided, the current one will be returned. Valid range for sweep speed is 1.0 - 100 nm/s with a minimum step of 0.1 nm/s.
- Parameters:
- valfloat, optional
The sweep speed of the laser, in nm/s.
- Returns:
- float
The sweep speed of the laser in nm/s.
Examples
>>> laser.sweep_speed() 26.0 >>> laser.sweep_speed(25) 25.0