autodeer.gui.autoDEER_worker
¶
Module Contents¶
Classes¶
Defines the signals available from a running worker thre |
|
Worker thread |
- class autodeer.gui.autoDEER_worker.autoDEERSignals[source]¶
Bases:
PyQt6.QtCore.QObject
Defines the signals available from a running worker thre
Supported signals are:
- finished
No data
- error
tuple (exctype, value, traceback.format_exc() )
- result
object data returned from processing, anything
- progress
int indicating % progress
- class autodeer.gui.autoDEER_worker.autoDEERWorker(interface, wait, mutex, pulses, results, LO, gyro, AWG=True, user_inputs=None, *args, **kwargs)[source]¶
Bases:
PyQt6.QtCore.QRunnable
Worker thread
Inherits from QRunnable to handler worker thread setup, signals and wrap-up.
- Parameters:
callback (function) – The function callback to run on this worker thre Supplied args and kwargs will be passed through to the runner.
args – Arguments to pass to the callback function
kwargs – Keywords to pass to the callback function
wait (PyQt6.QtCore.QWaitCondition)
mutex (PyQt6.QtCore.QMutex)
pulses (dict)
results (dict)
user_inputs (dict)