spinlab 0.0.3__tar.gz → 0.0.4__tar.gz
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.
- {spinlab-0.0.3/SpinLab.egg-info → spinlab-0.0.4}/PKG-INFO +1 -1
- {spinlab-0.0.3 → spinlab-0.0.4/SpinLab.egg-info}/PKG-INFO +1 -1
- {spinlab-0.0.3 → spinlab-0.0.4}/pyproject.toml +4 -1
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/io/specman.py +12 -0
- spinlab-0.0.4/spinlab/version.py +1 -0
- spinlab-0.0.3/spinlab/version.py +0 -1
- {spinlab-0.0.3 → spinlab-0.0.4}/LICENSE.txt +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/MANIFEST.in +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/README.md +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/SpinLab.egg-info/SOURCES.txt +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/SpinLab.egg-info/dependency_links.txt +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/SpinLab.egg-info/top_level.txt +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/setup.cfg +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/__init__.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/analysis/__init__.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/analysis/hydration.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/analysis/peaks.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/analysis/relaxation_fit.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/analysis/simulate_enhancement_profiles.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/config/__init__.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/config/config.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/config/spinlab.cfg +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/constants/__init__.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/constants/constants.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/constants/mrProperties.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/constants/radicalProperties.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/core/__init__.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/core/base.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/core/coord.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/core/data.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/core/ufunc.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/core/util.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/fitting/__init__.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/fitting/general.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/io/__init__.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/io/bes3t.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/io/cnsi.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/io/delta.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/io/h5.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/io/load.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/io/load_csv.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/io/logs.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/io/mat.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/io/power.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/io/prospa.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/io/random.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/io/rs2d.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/io/save.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/io/tnmr.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/io/topspin.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/io/vna.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/io/vnmrj.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/io/winepr.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/math/__init__.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/math/lineshape.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/math/pulses.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/math/relaxation.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/math/window.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/plotting/__init__.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/plotting/colors.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/plotting/general.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/plotting/image.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/plotting/stack_plot.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/processing/__init__.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/processing/align.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/processing/apodization.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/processing/average.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/processing/conversion.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/processing/fft.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/processing/helpers.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/processing/integration.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/processing/interpolation.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/processing/offset.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/processing/phase.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/reporting/__init__.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/widgets/__init__.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/widgets/align_widget.py +0 -0
- {spinlab-0.0.3 → spinlab-0.0.4}/spinlab/widgets/phase_widget.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "spinlab"
|
|
3
|
-
|
|
3
|
+
dynamic = ["version"]
|
|
4
4
|
description = "SpinLab - Bringing the Power of Python to NMR-EPR Spectroscopy"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.10"
|
|
@@ -26,3 +26,6 @@ include-package-data = true
|
|
|
26
26
|
|
|
27
27
|
[tool.setuptools.package-data]
|
|
28
28
|
mypkg = ["*.cfg"]
|
|
29
|
+
|
|
30
|
+
[tool.setuptools.dynamic]
|
|
31
|
+
version = {attr = "spinlab.version.__version__"}
|
|
@@ -270,6 +270,12 @@ def analyze_attrs(attrs):
|
|
|
270
270
|
stop = float(val_list[stop_index]) * _convert_unit(stop_unit)
|
|
271
271
|
temp[new_key + "_stop"] = stop
|
|
272
272
|
|
|
273
|
+
if "logto" in val_list:
|
|
274
|
+
logto_index = val_list.index("logto") + 1
|
|
275
|
+
logto_unit = val_list[logto_index + 1] if len(val_list) == 5 else None
|
|
276
|
+
logto = float(val_list[logto_index]) * _convert_unit(logto_unit)
|
|
277
|
+
temp[new_key + "_logto"] = logto
|
|
278
|
+
|
|
273
279
|
if "sweep_" in key:
|
|
274
280
|
val_list = val.split(",")
|
|
275
281
|
val = val_list[1] # get value
|
|
@@ -344,6 +350,12 @@ def calculate_specman_coords(attrs, old_coords, dims=None):
|
|
|
344
350
|
start = attrs[dim]
|
|
345
351
|
stop = attrs[dim + "_stop"]
|
|
346
352
|
coord = _np.linspace(start, stop, length)
|
|
353
|
+
elif dim in attrs and dim + "_logto" in attrs:
|
|
354
|
+
start = attrs[dim]
|
|
355
|
+
logto = attrs[dim + "_logto"]
|
|
356
|
+
coord = _np.logspace(
|
|
357
|
+
_np.log10(start), _np.log10(logto), length, endpoint=True
|
|
358
|
+
)
|
|
347
359
|
elif dim in attrs and dim + "_step" not in attrs and dim + "_stop" not in attrs:
|
|
348
360
|
val_string = attrs["params_" + dim].split(";")[0]
|
|
349
361
|
val_string = val_string.replace(", ", ",").split(",")
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.0.4"
|
spinlab-0.0.3/spinlab/version.py
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.0.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|