autodeer.hardware.dummy_xepr

This is a set of scripts that pretend to be an xepr spectromter, this allows for the further development of this code without having to be sat in front of an actual spectrometer:

Manufactuer: Hugo Karas (me) Model: DUMMY Features: The most relibable Bruker EPR spectromter in the world (possibly?)

Module Contents

Classes

Attributes

autodeer.hardware.dummy_xepr.hw_log[source]
autodeer.hardware.dummy_xepr.hardware_meta[source]
class autodeer.hardware.dummy_xepr.dummy_api[source]

Bases: autodeer.hardware.XeprAPI_link.XeprAPILink

_tmp_dir = 'None'[source]
meta[source]
find_Xepr()[source]
is_exp_running()[source]
acquire_scan()[source]

This script detects the end of the scan and acquires the data set. This requires that the experiment is still running, or recently finished. Once it has been saved this will no longer work.

acquire_scan_at(scan_num)[source]

This script acquires the scan after a specific number of scans

Parameters:

scan_num (int)

acquire_scan_2d()[source]

This function acquires the dataset after a full 2D scan. This is done by identifying the number of scan steps per sweep and acquiring the data on that scan. This requires that the experiment has not been saved.

compile_PulseSpel_def()[source]
compile_PulseSpel_prg()[source]
set_PulseSpel_var(variable, value)[source]

This can be used to change any pulse spell variable whilst the experiment is running. These changes take effect at the beginning of the next scan

Parameters:
  • variable (str)

  • value (int)

run_exp()[source]

Runs the current experiment.

stop_exp()[source]

Stops the current experiment.

abort_exp()[source]

Aborts the current experiment.

class autodeer.hardware.dummy_xepr.dummy_cur_exp[source]
ShotRepTime[source]
NbScansToDo[source]
SweepsPExp[source]
ShotsPLoop[source]
XSpecRes[source]
NbScansDone[source]
FTAcqModeSlct[source]
PlsSPELPrgPaF[source]
PlsSPELGlbPaF[source]
PlsSPELLISTSlct[source]
PlsSPELEXPSlct[source]
ReplaceMode[source]
CenterField[source]
FrequencyMon[source]
SweepWidth[source]
__getitem__(name)[source]

This method returns a given parameter class for the name provided

Parameters:

name (string) – The name of parameter needed

Returns:

Instance of dummy_param class corresponding to the searched name

Return type:

dummy_param class

getParam(name)[source]

Extracts a paremeter from the current exeperiment

Parameters:

name (string) – The name of the parameter to be extracted

Returns:

An instance of the parameter class for the given paramter name

Return type:

parameter Class

aqExpRun()[source]
class autodeer.hardware.dummy_xepr.dummy_param(min, max, type=int, par=None)[source]
property value[source]
aqGetParMaxValue[source]
aqGetParMinValue[source]
val[source]
class autodeer.hardware.dummy_xepr.dummy_xepr[source]
class XeprCmds[source]
aqPgShowPrg()[source]
aqPgCompile()[source]
aqExpSelect()[source]
aqPgLoad()[source]
aqPgDefLoad()[source]
aqPgDefSaveAs()[source]
aqPgSaveAs()[source]
vpSave(title, path)[source]
Parameters:
  • title (str)

  • path (str)

cur_exp[source]
hidden[source]
XeprExperiment(hidden=None)[source]
XeprDataset()[source]
class autodeer.hardware.dummy_xepr.dummy_hidden[source]
SignalPhase[source]
BrXPhase[source]
BrYPhase[source]
MinBrXPhase[source]
MinBrYPhase[source]
BrXAmp[source]
BrYAmp[source]
MinBrXAmp[source]
MinBrYAmp[source]
__getitem__(name)[source]

This method returns a given parameter class for the name provided

Parameters:

name (string) – The name of parameter needed

Returns:

Instance of dummy_param class corresponding to the searched name

Return type:

dummy_param class

getParam(name)[source]

Extracts a paremeter from the current exeperiment

Parameters:

name (string) – The name of the parameter to be extracted

Returns:

An instance of the parameter class for the given paramter name

Return type:

parameter Class

class autodeer.hardware.dummy_xepr.dummy_dataset(t, V)[source]
O[source]
size[source]