Spectroscopy#
- class Spectroscopy(root: NodeTree, tree: tuple, serial: str, index: int)[source]#
Bases:
Node
Spectroscopy node.
Implements basic functionality of the spectroscopy, e.g allowing the user to read the result logger data.
- Parameters:
root (NodeTree) – Root of the nodetree
tree (tuple) – Tree (node path as tuple) of the current node
serial (str) – Serial of the device.
index (int) – 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