klassez 0.1.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 (50) hide show
  1. klassez-0.1.0/LICENSE.txt +21 -0
  2. klassez-0.1.0/MANIFEST.in +3 -0
  3. klassez-0.1.0/PKG-INFO +41 -0
  4. klassez-0.1.0/README.md +13 -0
  5. klassez-0.1.0/docs/Makefile +20 -0
  6. klassez-0.1.0/docs/make.bat +35 -0
  7. klassez-0.1.0/docs/requirements.txt +10 -0
  8. klassez-0.1.0/klassez/Spectra.py +4004 -0
  9. klassez-0.1.0/klassez/__init__.py +20 -0
  10. klassez-0.1.0/klassez/anal.py +2103 -0
  11. klassez-0.1.0/klassez/config.py +245 -0
  12. klassez-0.1.0/klassez/figures.py +2593 -0
  13. klassez-0.1.0/klassez/fit.py +9034 -0
  14. klassez-0.1.0/klassez/misc.py +1873 -0
  15. klassez-0.1.0/klassez/processing.py +6094 -0
  16. klassez-0.1.0/klassez/sim.py +1038 -0
  17. klassez-0.1.0/klassez/tables/gamma.dic +120 -0
  18. klassez-0.1.0/klassez/tables/nuclei_jeol.dic +117 -0
  19. klassez-0.1.0/klassez/tables/xterm_colors +158 -0
  20. klassez-0.1.0/klassez.egg-info/PKG-INFO +41 -0
  21. klassez-0.1.0/klassez.egg-info/SOURCES.txt +49 -0
  22. klassez-0.1.0/klassez.egg-info/dependency_links.txt +1 -0
  23. klassez-0.1.0/klassez.egg-info/requires.txt +11 -0
  24. klassez-0.1.0/klassez.egg-info/top_level.txt +1 -0
  25. klassez-0.1.0/pyproject.toml +49 -0
  26. klassez-0.1.0/setup.cfg +7 -0
  27. klassez-0.1.0/test/T1_0.00.procs +1 -0
  28. klassez-0.1.0/test/T1_10.00.procs +1 -0
  29. klassez-0.1.0/test/T1_180.00.procs +1 -0
  30. klassez-0.1.0/test/T1_90.00.procs +1 -0
  31. klassez-0.1.0/test/T1_90.procs +1 -0
  32. klassez-0.1.0/test/T2_10.00.procs +1 -0
  33. klassez-0.1.0/test/T2_10.procs +1 -0
  34. klassez-0.1.0/test/acqus_1D +11 -0
  35. klassez-0.1.0/test/acqus_1D.fvf +15 -0
  36. klassez-0.1.0/test/acqus_1D.procs +1 -0
  37. klassez-0.1.0/test/acqus_2D +17 -0
  38. klassez-0.1.0/test/acqus_2D.procs +1 -0
  39. klassez-0.1.0/test/cnvg +0 -0
  40. klassez-0.1.0/test/fit_1D.py +77 -0
  41. klassez-0.1.0/test/read_process_1D.py +35 -0
  42. klassez-0.1.0/test/read_process_2D.py +46 -0
  43. klassez-0.1.0/test/test.log +15 -0
  44. klassez-0.1.0/test/test.py +26 -0
  45. klassez-0.1.0/test/test_1D_fit.fvf +25 -0
  46. klassez-0.1.0/test/test_1D_fit.ivf +25 -0
  47. klassez-0.1.0/test/test_1D_fit_R1.png +0 -0
  48. klassez-0.1.0/test/test_1D_fit_R2.png +0 -0
  49. klassez-0.1.0/test/test_1D_fit_full.png +0 -0
  50. klassez-0.1.0/test/test_1D_fit_rhist.png +0 -0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 Francesco Bruno
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,3 @@
1
+ include test/*
2
+ include docs/*
3
+ include klassez/tables/*
klassez-0.1.0/PKG-INFO ADDED
@@ -0,0 +1,41 @@
1
+ Metadata-Version: 2.4
2
+ Name: klassez
3
+ Version: 0.1.0
4
+ Summary: A collection of functions for NMR data handling
5
+ Author: Letizia Fiorucci
6
+ Author-email: Francesco Bruno <bruno@cerm.unifi.it>
7
+ License-Expression: MIT
8
+ Project-URL: Homepage, https://github.com/MetallerTM/klassez
9
+ Project-URL: Repository, https://github.com/MetallerTM/klassez.git
10
+ Project-URL: Documentation, https://klassez.readthedocs.io
11
+ Keywords: NMR,data processing,spectroscopy
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Operating System :: OS Independent
14
+ Requires-Python: >=3.10
15
+ Description-Content-Type: text/markdown
16
+ License-File: LICENSE.txt
17
+ Requires-Dist: numpy
18
+ Requires-Dist: scipy
19
+ Requires-Dist: lmfit
20
+ Requires-Dist: numdifftools
21
+ Requires-Dist: seaborn
22
+ Requires-Dist: nmrglue
23
+ Requires-Dist: matplotlib>=3.8
24
+ Requires-Dist: csaps
25
+ Provides-Extra: jeolproc
26
+ Requires-Dist: jeol_parser; extra == "jeolproc"
27
+ Dynamic: license-file
28
+
29
+ # **KLASSEZ**
30
+
31
+ The **KLASSEZ** package is a collection of classes and functions to handle NMR data.
32
+
33
+ It is organized in modules, each of which contains functions dedicated to specific tasks.
34
+
35
+ Some of the functions employed by **KLASSEZ** are taken from the NMRGLUE package and modified to suit the needs of the **KLASSEZ** package itself.
36
+
37
+ ---
38
+
39
+ **KLASSEZ** is developed and tested on *Ubuntu 22.04 LTS*. Other OS should encounter no issues; however, if it raises any errors, please notify.
40
+
41
+ Full documentation is available at https://klassez.readthedocs.io/latest/.
@@ -0,0 +1,13 @@
1
+ # **KLASSEZ**
2
+
3
+ The **KLASSEZ** package is a collection of classes and functions to handle NMR data.
4
+
5
+ It is organized in modules, each of which contains functions dedicated to specific tasks.
6
+
7
+ Some of the functions employed by **KLASSEZ** are taken from the NMRGLUE package and modified to suit the needs of the **KLASSEZ** package itself.
8
+
9
+ ---
10
+
11
+ **KLASSEZ** is developed and tested on *Ubuntu 22.04 LTS*. Other OS should encounter no issues; however, if it raises any errors, please notify.
12
+
13
+ Full documentation is available at https://klassez.readthedocs.io/latest/.
@@ -0,0 +1,20 @@
1
+ # Minimal makefile for Sphinx documentation
2
+ #
3
+
4
+ # You can set these variables from the command line, and also
5
+ # from the environment for the first two.
6
+ SPHINXOPTS ?=
7
+ SPHINXBUILD ?= sphinx-build
8
+ SOURCEDIR = source
9
+ BUILDDIR = build
10
+
11
+ # Put it first so that "make" without argument is like "make help".
12
+ help:
13
+ @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
14
+
15
+ .PHONY: help Makefile
16
+
17
+ # Catch-all target: route all unknown targets to Sphinx using the new
18
+ # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
19
+ %: Makefile
20
+ @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
@@ -0,0 +1,35 @@
1
+ @ECHO OFF
2
+
3
+ pushd %~dp0
4
+
5
+ REM Command file for Sphinx documentation
6
+
7
+ if "%SPHINXBUILD%" == "" (
8
+ set SPHINXBUILD=sphinx-build
9
+ )
10
+ set SOURCEDIR=source
11
+ set BUILDDIR=build
12
+
13
+ %SPHINXBUILD% >NUL 2>NUL
14
+ if errorlevel 9009 (
15
+ echo.
16
+ echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
17
+ echo.installed, then set the SPHINXBUILD environment variable to point
18
+ echo.to the full path of the 'sphinx-build' executable. Alternatively you
19
+ echo.may add the Sphinx directory to PATH.
20
+ echo.
21
+ echo.If you don't have Sphinx installed, grab it from
22
+ echo.https://www.sphinx-doc.org/
23
+ exit /b 1
24
+ )
25
+
26
+ if "%1" == "" goto help
27
+
28
+ %SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
29
+ goto end
30
+
31
+ :help
32
+ %SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
33
+
34
+ :end
35
+ popd
@@ -0,0 +1,10 @@
1
+ sphinx>=8.2.3
2
+ sphinx-rtd-theme>=2.0.0
3
+ numpydoc
4
+ numpy
5
+ scipy
6
+ lmfit
7
+ seaborn
8
+ nmrglue
9
+ matplotlib>=3.8
10
+ csaps