stanza.drivers.utils
Module Contents
Functions
API
Waits until the OPX FPGA reaches a “pause” statement.
Used when the OPX sequence needs to be synchronized with an external parameter sweep and to ensure that the OPX sequence is done before proceeding to the next iteration of the external loop, or when using IO variables:
Parameters:
Duration in seconds after which the console will be freed even if the pause statement has not been
Will throw and exception is set to True, otherwise it will just a print a warning.
Returns:
True when the pause statement has been reached.
Converts the demodulated data to volts.
Parameters:
demodulated data. Must be a python variable or array.
demodulation duration in ns. WARNING: this must be the duration of one slice in
Flag to add the additional factor of 2 needed for single demod.
Returns:
The demodulated data in volts.