wait_done#

Spectroscopy.wait_done(*, timeout: float = 10, sleep_time: float = 0.05) None[source]#

Wait until spectroscopy is finished.

Parameters:
  • timeout (float) – The maximum waiting time in seconds for the Spectroscopy (default: 10).

  • sleep_time (float) – Time in seconds to wait between requesting Spectroscopy state

Raises:

TimeoutError – if the spectroscopy recording is not completed within the given time.

Return type:

None