Spectroscopy#

class Spectroscopy(parent, tk_object, snapshot_cache=None, zi_node=None)[source]#

Bases: ZINode

Spectroscopy node.

Implements basic functionality of the spectroscopy, e.g allowing the user to read the result logger data.

Parameters:
  • root – Root of the nodetree

  • tree – Tree (node path as tuple) of the current node

  • serial – Serial of the device.

  • index – Index of the corresponding awg channel

Methods

configure_result_logger(*, result_length[, ...])

Configures the result logger for spectroscopy mode.

read(*[, timeout])

Waits until the logger finished recording and returns the measured data.

run()

Resets and enables the spectroscopy result logger.

stop(*[, timeout, sleep_time])

Stop the result logger.

wait_done(*[, timeout, sleep_time])

Wait until spectroscopy is finished.

Attributes