pyEPR-ESR 1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pyepr/__init__.py +13 -0
- pyepr/_version.py +27 -0
- pyepr/classes.py +765 -0
- pyepr/colors.py +3 -0
- pyepr/config.py +12 -0
- pyepr/criteria.py +132 -0
- pyepr/dataset.py +377 -0
- pyepr/fieldsweep_analysis.py +767 -0
- pyepr/hardware/.DS_Store +0 -0
- pyepr/hardware/Bruker_AWG.py +823 -0
- pyepr/hardware/Bruker_MPFU.py +1026 -0
- pyepr/hardware/Bruker_tools.py +1422 -0
- pyepr/hardware/ETH_awg.py +1094 -0
- pyepr/hardware/ETH_awg_load.py +960 -0
- pyepr/hardware/PyEPR_control.py +529 -0
- pyepr/hardware/XeprAPI_link.py +999 -0
- pyepr/hardware/__init__.py +22 -0
- pyepr/hardware/dummy.py +245 -0
- pyepr/hardware/dummy_xepr.py +356 -0
- pyepr/hardware/xepr_experiments.py +659 -0
- pyepr/pulses.py +1310 -0
- pyepr/relaxation_analysis.py +698 -0
- pyepr/resonator_profile_analysis.py +635 -0
- pyepr/sequences.py +1310 -0
- pyepr/tools.py +116 -0
- pyepr/utils.py +284 -0
- pyepr_esr-1.0.dist-info/LICENSE +674 -0
- pyepr_esr-1.0.dist-info/METADATA +78 -0
- pyepr_esr-1.0.dist-info/RECORD +30 -0
- pyepr_esr-1.0.dist-info/WHEEL +4 -0
pyepr/__init__.py
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from ._version import __version__, __copyright__
|
|
2
|
+
from .tools import eprload
|
|
3
|
+
from .utils import *
|
|
4
|
+
from .classes import Parameter, Interface
|
|
5
|
+
from .sequences import *
|
|
6
|
+
from .pulses import *
|
|
7
|
+
from .criteria import *
|
|
8
|
+
from .dataset import *
|
|
9
|
+
from .config import get_waveform_precision, set_waveform_precision
|
|
10
|
+
from .fieldsweep_analysis import *
|
|
11
|
+
from .relaxation_analysis import *
|
|
12
|
+
from .resonator_profile_analysis import *
|
|
13
|
+
from .colors import primary_colors
|
pyepr/_version.py
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import toml
|
|
2
|
+
import importlib.util
|
|
3
|
+
import importlib.metadata
|
|
4
|
+
import os.path
|
|
5
|
+
MODULE_DIR = importlib.util.find_spec('pyepr').submodule_search_locations[0]
|
|
6
|
+
|
|
7
|
+
# with open(os.path.join(MODULE_DIR,"../pyproject.toml"), "r") as f:
|
|
8
|
+
# config = toml.load(f)
|
|
9
|
+
# __version__ = config["tool"]["poetry"]["version"]
|
|
10
|
+
|
|
11
|
+
__version__ = importlib.metadata.version('PyEPR')
|
|
12
|
+
__copyright__ = "2021-2025, Hugo Karas, Gunnar Jeschke, Stefan Stoll"
|
|
13
|
+
|
|
14
|
+
try:
|
|
15
|
+
import git
|
|
16
|
+
import os
|
|
17
|
+
|
|
18
|
+
branch = git.Repo(os.path.dirname(__file__),search_parent_directories=True).active_branch.name
|
|
19
|
+
commit = git.Repo(os.path.dirname(__file__),search_parent_directories=True).head.commit.hexsha
|
|
20
|
+
|
|
21
|
+
if branch == 'main':
|
|
22
|
+
__version__ = __version__
|
|
23
|
+
else:
|
|
24
|
+
__version__ = f"{__version__}-{branch}-{commit[:7]}"
|
|
25
|
+
|
|
26
|
+
except:
|
|
27
|
+
__version__ = __version__
|