wavelength_logging#
method
- TSL550.wavelength_logging() List[float][source]#
Read the list of all the wavelength points logged into the laser’s buffer.
Assumes that all the correct sweep and triggering protocol are met (see manual page 6-5). Generally, if the laser does a wavelength sweep, the trigger mode must be set to ‘Step’ for the wavelengths to be logged.
- Returns:
- pointslist
A Python list of length
wavelength_logging_number(). Each item in the list has units of nanometers.
- Raises:
- RuntimeError
If reading the wavelength logging buffer fails.
Examples
>>> laser.wavelength_logging_number() 417 >>> wl = laser.wavelength_logging() >>> len(wl) 417 >>> type(wl) <class 'list'> >>> wl[0] 1675.0276