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¶
- class autodeer.hardware.dummy_xepr.dummy_api[source]¶
Bases:
autodeer.hardware.XeprAPI_link.XeprAPILink
- 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.
- class autodeer.hardware.dummy_xepr.dummy_cur_exp[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
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
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