autodeer.gui
¶
Submodules¶
Package Contents¶
Classes¶
Defines the signals available from a running worker thread. |
|
Worker thread |
Functions¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Raises an error box if the SNR of the signal is less than 1. |
- class autodeer.gui.autoDEERUI[source]¶
Bases:
autodeer.gui.tools.QMainWindow
- q_DEER¶
- longDEER¶
- threadpool¶
- current_results¶
- current_data¶
- pulses¶
- spectromterInterface = 'None'¶
- waitCondition = 'None'¶
- queue¶
- current_folder = 'None'¶
- config = 'None'¶
- connected = 'False'¶
- DL_params¶
- worker = 'None'¶
- starttime¶
- Bruker = 'False'¶
- userinput¶
- LO = '0'¶
- gyro = '0.002803632236095'¶
- cores = '1'¶
- Min_tp = '12'¶
- deer_settings¶
- priorties¶
- correction_factor = '1'¶
- autodeer.gui.create_save_name(SampleName, experiment, timestamp=True, ProjectName=None, Comment=None)[source]¶
- Parameters:
SampleName (str)
experiment (str)
- autodeer.gui.test_SNR(Application, data)[source]¶
Raises an error box if the SNR of the signal is less than 1.
- Parameters:
- data_type_
_description_
- class autodeer.gui.WorkerSignals[source]¶
Bases:
PyQt6.QtCore.QObject
Defines the signals available from a running worker thread.
Supported signals are:
- finished
No data
- error
tuple (exctype, value, traceback.format_exc() )
- result
object data returned from processing, anything
- progress
int indicating % progress
- finished¶
- error¶
- result¶
- class autodeer.gui.Worker(fn, *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 thread. 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
- fn¶
- args¶
- kwargs¶
- signals¶