autodeer.gui.autoDEER_worker

Module Contents

Classes

autoDEERSignals

Defines the signals available from a running worker thre

autoDEERWorker

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

finished[source]
error[source]
result[source]
progress[source]
status[source]
fsweep_result[source]
respro_result[source]
relax_result[source]
Relax2D_result[source]
T2_result[source]
quickdeer_result[source]
longdeer_result[source]
quickdeer_update[source]
longdeer_update[source]
reptime_scan_result[source]
timeout[source]
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)

interface[source]
args[source]
kwargs[source]
signals[source]
updaterate = '30'[source]
wait[source]
mutex[source]
results[source]
pulses[source]
samplename[source]
project[source]
LO[source]
gyro[source]
AWG[source]
user_inputs[source]
stop_flag = 'False'[source]
quick_deer_state = 'True'[source]
max_tau = '3.5'[source]
savename[source]
deer_inputs[source]
EndTimeCriteria[source]
test_interval = '0.5'[source]
pause_and_wait()[source]
run_fsweep()[source]

Initialise the runner function with passed args, kwargs.

run_respro()[source]

Initialise the runner function for resonator profile.

run_CP_relax(dt=200)[source]

Initialise the runner function for relaxation.

run_T2_relax(dt=60)[source]
run_2D_relax()[source]
run_quick_deer()[source]
run_long_deer()[source]
run_deer(end_criteria, signal, dt=16, shot=50, averages=1000)[source]
run_reptime_opt()[source]
tune_pulses()[source]
_build_methods()[source]
run()[source]
new_data(data)[source]
new_pulses(pulses)[source]
update_LO(LO)[source]
update_reptime(reptime)[source]
update_gyro(gyro)[source]
set_2D_max_tau(max_tau)[source]
update_deersettings(deer_settings)[source]
stop()[source]
set_noise_mode(level)[source]