sweep_step_time

sweep_step_time#

method

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

Set the duration 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 - 999.9 (s) with a minimum step of 0.1 s.

Parameters:
valfloat, optional

The duration of each step in seconds.

Returns:
float

The set duration of each step in seconds.

Examples

>>> laser.sweep_step_time()
0.5
>>> laser.sweep_step_time(0.8)
0.8