sweep_get_mode#
method
- TSL550.sweep_get_mode() Dict[str, bool][source]#
Return the current sweep configuration as a dictionary.
See
sweep_set_mode()for a description of what the parameters mean.- Returns:
- modedict
A dictionary containing boolean values for the keys continuous, twoway, trigger, and const_freq_step.
Examples
>>> laser.sweep_get_mode() {'continuous': True, 'twoway': True, 'trigger': False, 'const_freq_step': False}