autodeer.gui.main

Module Contents

Classes

WorkerSignals

Defines the signals available from a running worker thread.

Worker

Worker thread

autoDEERUI

Functions

fieldsweep_fit(fsweep_analysis, fit)

respro_process(dataset, f_lims[, fieldsweep, cores])

relax_process(dataset)

T2_process(dataset)

Attributes

autodeer.gui.main.package_directory[source]
autodeer.gui.main.SampleConcComboBox_opts[source]
class autodeer.gui.main.WorkerSignals[source]

Bases: autodeer.gui.tools.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[source]
error[source]
result[source]
progress[source]
class autodeer.gui.main.Worker(fn, *args, **kwargs)[source]

Bases: autodeer.gui.tools.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[source]
args[source]
kwargs[source]
signals[source]
run()[source]

Initialise the runner function with passed args, kwargs.

autodeer.gui.main.fieldsweep_fit(fsweep_analysis, fit)[source]
autodeer.gui.main.respro_process(dataset, f_lims, fieldsweep=None, cores=1)[source]
autodeer.gui.main.relax_process(dataset)[source]
autodeer.gui.main.T2_process(dataset)[source]
class autodeer.gui.main.autoDEERUI[source]

Bases: autodeer.gui.tools.QMainWindow

logo_pixmap[source]
q_DEER[source]
longDEER[source]
threadpool[source]
current_results[source]
current_data[source]
pulses[source]
spectromterInterface = 'None'[source]
waitCondition = 'None'[source]
queue[source]
docs_url[source]
github_url[source]
issues_url[source]
discussion_url[source]
current_folder = 'None'[source]
config = 'None'[source]
connected = 'False'[source]
DL_params[source]
worker = 'None'[source]
starttime[source]
Bruker = 'False'[source]
userinput[source]
LO = '0'[source]
gyro = '0.002803632236095'[source]
cores = '1'[source]
Min_tp = '12'[source]
deer_settings[source]
priorties[source]
correction_factor = '1'[source]
set_spectrometer_connected_light(state)[source]
load_folder(*args, folder_path=None)[source]
load_epr_file(store_location)[source]
load_spectrometer_config(filename=None)[source]
select_resonator()[source]
change_LO()[source]
connect_spectrometer()[source]
raise_warning(message)[source]
save_data(dataset, experiment)[source]
fsweep_toolbar()[source]
respro_toolbar()[source]
relax_toolbar()[source]
update_fieldsweep(dataset=None)[source]
create_fieldsweep_figure()[source]
refresh_fieldsweep_after_fit(fitresult)[source]
update_respro(dataset=None)[source]
create_respro_figure()[source]
refresh_respro(*args)[source]
optimise_pulses_button()[source]
optimise_pulses(pulses=None)[source]
update_optimise_pulses_figure()[source]
update_relax(dataset=None)[source]
create_relax_figure()[source]
refresh_relax_figure()[source]
refresh_relax(fitresult)[source]
initialise_deer_settings()[source]
update_deer_settings()[source]
update_relax2D(dataset=None)[source]
update_T2(dataset=None)[source]
check_T2(fitresult)[source]
check_CP(fitresult)[source]
refresh_T2(fitresult)[source]
advanced_mode_inputs()[source]
update_quickdeer(dataset=None)[source]
update_longdeer(dataset=None)[source]
update_reptime(dataset=None)[source]
timeout()[source]

Creates a pop up box as the experiment has timed out

clear_all()[source]
RunAutoDEER(advanced=False)[source]
RunFullyAutoDEER()[source]
RunAdvancedAutoDEER()[source]
create_report()[source]
autodeer.gui.main.app[source]