autodeer.hardware.Bruker_AWG
¶
Module Contents¶
Classes¶
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)
- 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:
sequence (Sequence)
savename (str)
- 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.