autodeer.hardware.Bruker_AWG

Module Contents

Classes

BrukerAWG

Represents the interface for connecting to AWG based Bruker ELEXSYS-II

Functions

class autodeer.hardware.Bruker_AWG.BrukerAWG(config_file)[source]

Bases: autodeer.classes.Interface

Represents the interface for connecting to AWG based Bruker ELEXSYS-II Spectrometers.

An interface for connecting to AWG based Bruker ELEXSYS-II Spectrometers.

Parameters:
config_filestr

The path to a YAML configuration file.

Attributes:
bg_thread: None or threading.Thread

If a background thread is needed, it is stored here.

Parameters:

config_file (str)

api[source]
spec_config[source]
bridge_config[source]
temp_dir[source]
d0[source]
bg_thread = 'None'[source]
bg_data = 'None'[source]
cur_exp = 'None'[source]
tuning = 'False'[source]
pool[source]
savename = "''"[source]
savefolder[source]
setup_flag = 'False'[source]
connect(d0=None)[source]
Return type:

None

setup(d0=None)[source]
acquire_dataset()[source]

Acquires the dataset.

_launch_complex_thread(sequence, axID=1, tune=True)[source]
launch(sequence, savename, start=True, tune=True, MPFU_overwrite=None, update_pulsespel=True, reset_bg_data=True, reset_cur_exp=True, **kwargs)[source]

Launches the experiment and initialises autosaving.

Parameters:
sequenceSequence

The sequence to be launched

savenamestr

The savename for this measurement. A timestamp will be added to the value.

Parameters:
tune_rectpulse(*, tp, LO, B, reptime, shots=400)[source]

Generates a rectangular pi and pi/2 pulse of the given length at the given field position. This value is stored in the pulse cache.

Parameters:
tpfloat

Pulse length in ns

LOfloat

Central frequency of this pulse in GHz

Bfloat

Magnetic B0 field position in Gauss

reptime: float

Shot repetion time in us.

shots: int

The number of shots

Returns:
p90: RectPulse

A tuned rectangular pi/2 pulse of length tp

p180: RectPulse

A tuned rectangular pi pulse of length tp

tune_pulse(pulse, mode, LO, B, reptime, shots=400)[source]

Tunes a single pulse a range of methods.

Parameters:
pulsePulse

The Pulse object in need of tuning.

modestr

The method to be used.

LOfloat

The local oscilator frequency in GHz

Bfloat

Magnetic B0 field position in Gauss

reptimeus

Shot repetion time in us.

shots: int

The number of shots

Returns:
Tunned Pulse: Pulse

The returned pulse object that is now tunned.

tune_nutation(test_pulse)[source]
isrunning()[source]
Return type:

bool

terminate(now=False)[source]

Terminates the experiment immediately.

Return type:

None

calc_d0()[source]

This creates an initial guess for d0. A better estimate can only be found after the field sweep.

calc_d0_from_Hahn_Echo(B=None, LO=None)[source]
autodeer.hardware.Bruker_AWG.get_specjet_data(interface)[source]
autodeer.hardware.Bruker_AWG.test_if_MPFU_compatability(seq)[source]