spinlab 0.0.0__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.
Files changed (76) hide show
  1. spinlab-0.0.0/LICENSE.txt +21 -0
  2. spinlab-0.0.0/MANIFEST.in +1 -0
  3. spinlab-0.0.0/PKG-INFO +56 -0
  4. spinlab-0.0.0/README.md +42 -0
  5. spinlab-0.0.0/SpinLab.egg-info/PKG-INFO +56 -0
  6. spinlab-0.0.0/SpinLab.egg-info/SOURCES.txt +78 -0
  7. spinlab-0.0.0/SpinLab.egg-info/dependency_links.txt +1 -0
  8. spinlab-0.0.0/SpinLab.egg-info/top_level.txt +1 -0
  9. spinlab-0.0.0/pyproject.toml +21 -0
  10. spinlab-0.0.0/setup.cfg +4 -0
  11. spinlab-0.0.0/spinlab/__init__.py +27 -0
  12. spinlab-0.0.0/spinlab/analysis/__init__.py +6 -0
  13. spinlab-0.0.0/spinlab/analysis/hydration.py +555 -0
  14. spinlab-0.0.0/spinlab/analysis/peaks.py +249 -0
  15. spinlab-0.0.0/spinlab/analysis/relaxation_fit.py +29 -0
  16. spinlab-0.0.0/spinlab/analysis/simulate_enhancement_profiles.py +109 -0
  17. spinlab-0.0.0/spinlab/config/__init__.py +0 -0
  18. spinlab-0.0.0/spinlab/config/config.py +81 -0
  19. spinlab-0.0.0/spinlab/constants/__init__.py +5 -0
  20. spinlab-0.0.0/spinlab/constants/constants.py +27 -0
  21. spinlab-0.0.0/spinlab/constants/mrProperties.py +236 -0
  22. spinlab-0.0.0/spinlab/constants/radicalProperties.py +147 -0
  23. spinlab-0.0.0/spinlab/core/__init__.py +5 -0
  24. spinlab-0.0.0/spinlab/core/base.py +1268 -0
  25. spinlab-0.0.0/spinlab/core/coord.py +225 -0
  26. spinlab-0.0.0/spinlab/core/data.py +335 -0
  27. spinlab-0.0.0/spinlab/core/ufunc.py +67 -0
  28. spinlab-0.0.0/spinlab/core/util.py +159 -0
  29. spinlab-0.0.0/spinlab/fitting/__init__.py +3 -0
  30. spinlab-0.0.0/spinlab/fitting/general.py +106 -0
  31. spinlab-0.0.0/spinlab/io/__init__.py +19 -0
  32. spinlab-0.0.0/spinlab/io/bes3t.py +453 -0
  33. spinlab-0.0.0/spinlab/io/cnsi.py +139 -0
  34. spinlab-0.0.0/spinlab/io/delta.py +523 -0
  35. spinlab-0.0.0/spinlab/io/h5.py +215 -0
  36. spinlab-0.0.0/spinlab/io/load.py +334 -0
  37. spinlab-0.0.0/spinlab/io/load_csv.py +98 -0
  38. spinlab-0.0.0/spinlab/io/logs.py +84 -0
  39. spinlab-0.0.0/spinlab/io/mat.py +153 -0
  40. spinlab-0.0.0/spinlab/io/power.py +109 -0
  41. spinlab-0.0.0/spinlab/io/prospa.py +340 -0
  42. spinlab-0.0.0/spinlab/io/random.py +36 -0
  43. spinlab-0.0.0/spinlab/io/rs2d.py +111 -0
  44. spinlab-0.0.0/spinlab/io/save.py +52 -0
  45. spinlab-0.0.0/spinlab/io/specman.py +358 -0
  46. spinlab-0.0.0/spinlab/io/tnmr.py +178 -0
  47. spinlab-0.0.0/spinlab/io/topspin.py +625 -0
  48. spinlab-0.0.0/spinlab/io/vna.py +76 -0
  49. spinlab-0.0.0/spinlab/io/vnmrj.py +236 -0
  50. spinlab-0.0.0/spinlab/io/winepr.py +205 -0
  51. spinlab-0.0.0/spinlab/math/__init__.py +6 -0
  52. spinlab-0.0.0/spinlab/math/lineshape.py +142 -0
  53. spinlab-0.0.0/spinlab/math/pulses.py +255 -0
  54. spinlab-0.0.0/spinlab/math/relaxation.py +133 -0
  55. spinlab-0.0.0/spinlab/math/window.py +161 -0
  56. spinlab-0.0.0/spinlab/plotting/__init__.py +9 -0
  57. spinlab-0.0.0/spinlab/plotting/colors.py +9 -0
  58. spinlab-0.0.0/spinlab/plotting/general.py +285 -0
  59. spinlab-0.0.0/spinlab/plotting/image.py +68 -0
  60. spinlab-0.0.0/spinlab/plotting/stack_plot.py +69 -0
  61. spinlab-0.0.0/spinlab/processing/__init__.py +12 -0
  62. spinlab-0.0.0/spinlab/processing/align.py +76 -0
  63. spinlab-0.0.0/spinlab/processing/apodization.py +96 -0
  64. spinlab-0.0.0/spinlab/processing/average.py +28 -0
  65. spinlab-0.0.0/spinlab/processing/conversion.py +247 -0
  66. spinlab-0.0.0/spinlab/processing/fft.py +182 -0
  67. spinlab-0.0.0/spinlab/processing/helpers.py +577 -0
  68. spinlab-0.0.0/spinlab/processing/integration.py +130 -0
  69. spinlab-0.0.0/spinlab/processing/interpolation.py +70 -0
  70. spinlab-0.0.0/spinlab/processing/offset.py +133 -0
  71. spinlab-0.0.0/spinlab/processing/phase.py +508 -0
  72. spinlab-0.0.0/spinlab/reporting/__init__.py +1 -0
  73. spinlab-0.0.0/spinlab/version.py +1 -0
  74. spinlab-0.0.0/spinlab/widgets/__init__.py +4 -0
  75. spinlab-0.0.0/spinlab/widgets/align_widget.py +77 -0
  76. spinlab-0.0.0/spinlab/widgets/phase_widget.py +118 -0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2020 Bridge12 Technologies, Inc.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1 @@
1
+ include config/spinlab.cfg
spinlab-0.0.0/PKG-INFO ADDED
@@ -0,0 +1,56 @@
1
+ Metadata-Version: 2.4
2
+ Name: spinlab
3
+ Version: 0.0.0
4
+ Summary: SpinLab - Bringing the Power of Python to NMR-EPR Spectroscopy
5
+ License-Expression: MIT
6
+ Keywords: ODNP,DNP,Spin,NMR,EPR
7
+ Classifier: Development Status :: 3 - Alpha
8
+ Classifier: Programming Language :: Python :: 3.10
9
+ Classifier: Programming Language :: Python :: 3.11
10
+ Requires-Python: >=3.10
11
+ Description-Content-Type: text/markdown
12
+ License-File: LICENSE.txt
13
+ Dynamic: license-file
14
+
15
+ [![http://spinlab.net](https://img.shields.io/pypi/v/spinlab)](https://pypi.org/project/spinlab/)
16
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/spinlab)](https://www.python.org/downloads/)
17
+ [![Downloads](https://pepy.tech/badge/spinlab/month)](https://pepy.tech/project/spinlab)
18
+
19
+ [![SpinLab Logo](http://spinlab.net/_static/SpinlabLogo.png)](http://spinlab.net)
20
+ # SpinLab - Bringing the Power of Python to Spin-NMR Spectroscopy
21
+
22
+ SpinLab is a collaborative project created by:
23
+ - [Bridge12 Technologies, Inc.](http://www.bridge12.com/)
24
+ - [Han Lab NWU](https://hanlab.northwestern.edu/)
25
+ - [Franck Lab Syracuse University](https://jmfrancklab.github.io/)
26
+
27
+ Authors:
28
+ Timothy Keller, Yen-Chun Huang, Karl Rieger, John Franck, Thorsten Maly, Songi Han
29
+
30
+ Alumnis:
31
+ Thomas Casey, Yanxian Lin
32
+
33
+ SpinLab is an object-oriented Open Source Python-based package for importing, processing, and analyzing data determined in a [Dynamic Nuclear Polarization (Spin)](https://www.bridge12.com/learn/spinlab-spectroscopy/) or Electron Paramagnetic Resonance (EPR) experiment.
34
+
35
+ # Features
36
+
37
+ - Import many different NMR data formats (Topspin, VnmrJ, Prospa, ...)
38
+ - Create N-dimensional data objects
39
+ - Easy processing of NMR data (apodization, zero-filling, Fourier transformations, alignment, ...)
40
+ - Analyze data using the specific modules
41
+
42
+ # Installation
43
+
44
+ SpinLab can be easily installed via pip:
45
+
46
+ ```console
47
+ pip install spinlab
48
+ ```
49
+
50
+ # Documenation
51
+
52
+ Find the online documentation at: http://docs.spinlab.net
53
+
54
+ # Developement
55
+
56
+ - Clone the git repository from https://github.com/SpinLab/spinlab
@@ -0,0 +1,42 @@
1
+ [![http://spinlab.net](https://img.shields.io/pypi/v/spinlab)](https://pypi.org/project/spinlab/)
2
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/spinlab)](https://www.python.org/downloads/)
3
+ [![Downloads](https://pepy.tech/badge/spinlab/month)](https://pepy.tech/project/spinlab)
4
+
5
+ [![SpinLab Logo](http://spinlab.net/_static/SpinlabLogo.png)](http://spinlab.net)
6
+ # SpinLab - Bringing the Power of Python to Spin-NMR Spectroscopy
7
+
8
+ SpinLab is a collaborative project created by:
9
+ - [Bridge12 Technologies, Inc.](http://www.bridge12.com/)
10
+ - [Han Lab NWU](https://hanlab.northwestern.edu/)
11
+ - [Franck Lab Syracuse University](https://jmfrancklab.github.io/)
12
+
13
+ Authors:
14
+ Timothy Keller, Yen-Chun Huang, Karl Rieger, John Franck, Thorsten Maly, Songi Han
15
+
16
+ Alumnis:
17
+ Thomas Casey, Yanxian Lin
18
+
19
+ SpinLab is an object-oriented Open Source Python-based package for importing, processing, and analyzing data determined in a [Dynamic Nuclear Polarization (Spin)](https://www.bridge12.com/learn/spinlab-spectroscopy/) or Electron Paramagnetic Resonance (EPR) experiment.
20
+
21
+ # Features
22
+
23
+ - Import many different NMR data formats (Topspin, VnmrJ, Prospa, ...)
24
+ - Create N-dimensional data objects
25
+ - Easy processing of NMR data (apodization, zero-filling, Fourier transformations, alignment, ...)
26
+ - Analyze data using the specific modules
27
+
28
+ # Installation
29
+
30
+ SpinLab can be easily installed via pip:
31
+
32
+ ```console
33
+ pip install spinlab
34
+ ```
35
+
36
+ # Documenation
37
+
38
+ Find the online documentation at: http://docs.spinlab.net
39
+
40
+ # Developement
41
+
42
+ - Clone the git repository from https://github.com/SpinLab/spinlab
@@ -0,0 +1,56 @@
1
+ Metadata-Version: 2.4
2
+ Name: spinlab
3
+ Version: 0.0.0
4
+ Summary: SpinLab - Bringing the Power of Python to NMR-EPR Spectroscopy
5
+ License-Expression: MIT
6
+ Keywords: ODNP,DNP,Spin,NMR,EPR
7
+ Classifier: Development Status :: 3 - Alpha
8
+ Classifier: Programming Language :: Python :: 3.10
9
+ Classifier: Programming Language :: Python :: 3.11
10
+ Requires-Python: >=3.10
11
+ Description-Content-Type: text/markdown
12
+ License-File: LICENSE.txt
13
+ Dynamic: license-file
14
+
15
+ [![http://spinlab.net](https://img.shields.io/pypi/v/spinlab)](https://pypi.org/project/spinlab/)
16
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/spinlab)](https://www.python.org/downloads/)
17
+ [![Downloads](https://pepy.tech/badge/spinlab/month)](https://pepy.tech/project/spinlab)
18
+
19
+ [![SpinLab Logo](http://spinlab.net/_static/SpinlabLogo.png)](http://spinlab.net)
20
+ # SpinLab - Bringing the Power of Python to Spin-NMR Spectroscopy
21
+
22
+ SpinLab is a collaborative project created by:
23
+ - [Bridge12 Technologies, Inc.](http://www.bridge12.com/)
24
+ - [Han Lab NWU](https://hanlab.northwestern.edu/)
25
+ - [Franck Lab Syracuse University](https://jmfrancklab.github.io/)
26
+
27
+ Authors:
28
+ Timothy Keller, Yen-Chun Huang, Karl Rieger, John Franck, Thorsten Maly, Songi Han
29
+
30
+ Alumnis:
31
+ Thomas Casey, Yanxian Lin
32
+
33
+ SpinLab is an object-oriented Open Source Python-based package for importing, processing, and analyzing data determined in a [Dynamic Nuclear Polarization (Spin)](https://www.bridge12.com/learn/spinlab-spectroscopy/) or Electron Paramagnetic Resonance (EPR) experiment.
34
+
35
+ # Features
36
+
37
+ - Import many different NMR data formats (Topspin, VnmrJ, Prospa, ...)
38
+ - Create N-dimensional data objects
39
+ - Easy processing of NMR data (apodization, zero-filling, Fourier transformations, alignment, ...)
40
+ - Analyze data using the specific modules
41
+
42
+ # Installation
43
+
44
+ SpinLab can be easily installed via pip:
45
+
46
+ ```console
47
+ pip install spinlab
48
+ ```
49
+
50
+ # Documenation
51
+
52
+ Find the online documentation at: http://docs.spinlab.net
53
+
54
+ # Developement
55
+
56
+ - Clone the git repository from https://github.com/SpinLab/spinlab
@@ -0,0 +1,78 @@
1
+ LICENSE.txt
2
+ MANIFEST.in
3
+ README.md
4
+ pyproject.toml
5
+ SpinLab.egg-info/PKG-INFO
6
+ SpinLab.egg-info/SOURCES.txt
7
+ SpinLab.egg-info/dependency_links.txt
8
+ SpinLab.egg-info/top_level.txt
9
+ spinlab/__init__.py
10
+ spinlab/version.py
11
+ spinlab.egg-info/PKG-INFO
12
+ spinlab.egg-info/SOURCES.txt
13
+ spinlab.egg-info/dependency_links.txt
14
+ spinlab.egg-info/top_level.txt
15
+ spinlab/analysis/__init__.py
16
+ spinlab/analysis/hydration.py
17
+ spinlab/analysis/peaks.py
18
+ spinlab/analysis/relaxation_fit.py
19
+ spinlab/analysis/simulate_enhancement_profiles.py
20
+ spinlab/config/__init__.py
21
+ spinlab/config/config.py
22
+ spinlab/constants/__init__.py
23
+ spinlab/constants/constants.py
24
+ spinlab/constants/mrProperties.py
25
+ spinlab/constants/radicalProperties.py
26
+ spinlab/core/__init__.py
27
+ spinlab/core/base.py
28
+ spinlab/core/coord.py
29
+ spinlab/core/data.py
30
+ spinlab/core/ufunc.py
31
+ spinlab/core/util.py
32
+ spinlab/fitting/__init__.py
33
+ spinlab/fitting/general.py
34
+ spinlab/io/__init__.py
35
+ spinlab/io/bes3t.py
36
+ spinlab/io/cnsi.py
37
+ spinlab/io/delta.py
38
+ spinlab/io/h5.py
39
+ spinlab/io/load.py
40
+ spinlab/io/load_csv.py
41
+ spinlab/io/logs.py
42
+ spinlab/io/mat.py
43
+ spinlab/io/power.py
44
+ spinlab/io/prospa.py
45
+ spinlab/io/random.py
46
+ spinlab/io/rs2d.py
47
+ spinlab/io/save.py
48
+ spinlab/io/specman.py
49
+ spinlab/io/tnmr.py
50
+ spinlab/io/topspin.py
51
+ spinlab/io/vna.py
52
+ spinlab/io/vnmrj.py
53
+ spinlab/io/winepr.py
54
+ spinlab/math/__init__.py
55
+ spinlab/math/lineshape.py
56
+ spinlab/math/pulses.py
57
+ spinlab/math/relaxation.py
58
+ spinlab/math/window.py
59
+ spinlab/plotting/__init__.py
60
+ spinlab/plotting/colors.py
61
+ spinlab/plotting/general.py
62
+ spinlab/plotting/image.py
63
+ spinlab/plotting/stack_plot.py
64
+ spinlab/processing/__init__.py
65
+ spinlab/processing/align.py
66
+ spinlab/processing/apodization.py
67
+ spinlab/processing/average.py
68
+ spinlab/processing/conversion.py
69
+ spinlab/processing/fft.py
70
+ spinlab/processing/helpers.py
71
+ spinlab/processing/integration.py
72
+ spinlab/processing/interpolation.py
73
+ spinlab/processing/offset.py
74
+ spinlab/processing/phase.py
75
+ spinlab/reporting/__init__.py
76
+ spinlab/widgets/__init__.py
77
+ spinlab/widgets/align_widget.py
78
+ spinlab/widgets/phase_widget.py
@@ -0,0 +1 @@
1
+ spinlab
@@ -0,0 +1,21 @@
1
+ [project]
2
+ name = "spinlab"
3
+ version = "0.0.0"
4
+ description = "SpinLab - Bringing the Power of Python to NMR-EPR Spectroscopy"
5
+ readme = "README.md"
6
+ requires-python = ">=3.10"
7
+ classifiers = [
8
+ "Development Status :: 3 - Alpha",
9
+ "Programming Language :: Python :: 3.10",
10
+ "Programming Language :: Python :: 3.11",
11
+ ]
12
+ license = "MIT"
13
+ license-files = ["LICENSE.txt"]
14
+ keywords = ["ODNP", "DNP", "Spin", "NMR", "EPR"]
15
+
16
+ [tool.setuptools.packages.find]
17
+ include = ["spinlab*"]
18
+
19
+ [build-system]
20
+ requires = ["setuptools", "numpy >= 2.0.0", "scipy>=1.14.0", "matplotlib>=3.9.0", "h5py>=3.11.0"]
21
+ build-backend = "setuptools.build_meta"
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,27 @@
1
+ """SpinLab - Bringing the Power of Python to Spin-NMR Spectroscopy"""
2
+
3
+ from .core.data import SpinData
4
+ from .core.ufunc import *
5
+ from .core.util import *
6
+
7
+ from .constants import *
8
+ from .fitting import *
9
+ from .math import *
10
+
11
+ from .io import *
12
+ from .io.save import save
13
+ from .io.load import load
14
+
15
+ from .analysis.relaxation_fit import *
16
+ from .analysis.hydration import hydration
17
+ from .analysis.simulate_enhancement_profiles import *
18
+ from .analysis.peaks import *
19
+
20
+ from .processing import *
21
+ from .widgets import *
22
+ from .plotting import *
23
+ from .reporting import *
24
+ from .version import __version__
25
+
26
+ # config
27
+ from .config.config import SpinLAB_CONFIG
@@ -0,0 +1,6 @@
1
+ """Modules which provide a workflow for analyzing slData objects"""
2
+
3
+ from . import hydration
4
+ from . import relaxation_fit
5
+ from . import simulate_enhancement_profiles
6
+ from . import peaks