nxs-analysis-tools 0.0.29__tar.gz → 0.0.31__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.

Potentially problematic release.


This version of nxs-analysis-tools might be problematic. Click here for more details.

Files changed (24) hide show
  1. {nxs-analysis-tools-0.0.29 → nxs-analysis-tools-0.0.31}/LICENSE +21 -21
  2. {nxs-analysis-tools-0.0.29 → nxs-analysis-tools-0.0.31}/MANIFEST.in +3 -3
  3. {nxs-analysis-tools-0.0.29/src/nxs_analysis_tools.egg-info → nxs-analysis-tools-0.0.31}/PKG-INFO +1 -1
  4. {nxs-analysis-tools-0.0.29 → nxs-analysis-tools-0.0.31}/README.md +19 -19
  5. {nxs-analysis-tools-0.0.29 → nxs-analysis-tools-0.0.31}/pyproject.toml +66 -66
  6. {nxs-analysis-tools-0.0.29 → nxs-analysis-tools-0.0.31}/setup.py +4 -4
  7. {nxs-analysis-tools-0.0.29 → nxs-analysis-tools-0.0.31}/src/_meta/__init__.py +10 -10
  8. {nxs-analysis-tools-0.0.29 → nxs-analysis-tools-0.0.31}/src/nxs_analysis_tools/__init__.py +12 -12
  9. {nxs-analysis-tools-0.0.29 → nxs-analysis-tools-0.0.31}/src/nxs_analysis_tools/chess.py +363 -363
  10. {nxs-analysis-tools-0.0.29 → nxs-analysis-tools-0.0.31}/src/nxs_analysis_tools/datareduction.py +887 -887
  11. {nxs-analysis-tools-0.0.29 → nxs-analysis-tools-0.0.31}/src/nxs_analysis_tools/fitting.py +262 -262
  12. {nxs-analysis-tools-0.0.29 → nxs-analysis-tools-0.0.31}/src/nxs_analysis_tools/pairdistribution.py +515 -515
  13. {nxs-analysis-tools-0.0.29 → nxs-analysis-tools-0.0.31/src/nxs_analysis_tools.egg-info}/PKG-INFO +1 -1
  14. {nxs-analysis-tools-0.0.29 → nxs-analysis-tools-0.0.31}/tests/test_chess.py +15 -15
  15. {nxs-analysis-tools-0.0.29 → nxs-analysis-tools-0.0.31}/tests/test_chess_fitting.py +20 -20
  16. {nxs-analysis-tools-0.0.29 → nxs-analysis-tools-0.0.31}/tests/test_datareduction.py +19 -19
  17. {nxs-analysis-tools-0.0.29 → nxs-analysis-tools-0.0.31}/tests/test_fitting.py +27 -27
  18. {nxs-analysis-tools-0.0.29 → nxs-analysis-tools-0.0.31}/tests/test_lmfit.py +94 -94
  19. {nxs-analysis-tools-0.0.29 → nxs-analysis-tools-0.0.31}/tests/test_pairdistribution.py +39 -39
  20. {nxs-analysis-tools-0.0.29 → nxs-analysis-tools-0.0.31}/setup.cfg +0 -0
  21. {nxs-analysis-tools-0.0.29 → nxs-analysis-tools-0.0.31}/src/nxs_analysis_tools.egg-info/SOURCES.txt +0 -0
  22. {nxs-analysis-tools-0.0.29 → nxs-analysis-tools-0.0.31}/src/nxs_analysis_tools.egg-info/dependency_links.txt +0 -0
  23. {nxs-analysis-tools-0.0.29 → nxs-analysis-tools-0.0.31}/src/nxs_analysis_tools.egg-info/requires.txt +0 -0
  24. {nxs-analysis-tools-0.0.29 → nxs-analysis-tools-0.0.31}/src/nxs_analysis_tools.egg-info/top_level.txt +0 -0
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2023 Steven J. Gomez Alvarado
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.
1
+ MIT License
2
+
3
+ Copyright (c) 2023 Steven J. Gomez Alvarado
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.
@@ -1,3 +1,3 @@
1
- # Exclude generated files
2
- prune */__pycache__
3
- global-exclude *.pyc *.pyo *.pyd *.swp *.bak *~ */magentropy.egg-info/*
1
+ # Exclude generated files
2
+ prune */__pycache__
3
+ global-exclude *.pyc *.pyo *.pyd *.swp *.bak *~ */magentropy.egg-info/*
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: nxs-analysis-tools
3
- Version: 0.0.29
3
+ Version: 0.0.31
4
4
  Summary: Reduce and transform nexus format (.nxs) scattering data.
5
5
  Author-email: "Steven J. Gomez Alvarado" <stevenjgomez@ucsb.edu>
6
6
  License: MIT License
@@ -1,19 +1,19 @@
1
- # nxs-analysis-tools
2
-
3
- ## Overview
4
-
5
- nxs-analysis-tools provides a suite of tools for slicing (2D), cutting (1D), and transforming (e.g., symmetrizing, interpolating, deltaPDF) nexus format (.nxs) scattering data.
6
-
7
- View the documentation [here](https://nxs-analysis-tools.readthedocs.io/en/stable/).
8
-
9
- ## Installation
10
-
11
- Install nxs-analysis-tools with ``pip``:
12
-
13
- ```{code-block} console
14
- pip install nxs-analysis-tools
15
- ```
16
-
17
- ## License
18
-
19
- This project is licensed under the MIT License.
1
+ # nxs-analysis-tools
2
+
3
+ ## Overview
4
+
5
+ nxs-analysis-tools provides a suite of tools for slicing (2D), cutting (1D), and transforming (e.g., symmetrizing, interpolating, deltaPDF) nexus format (.nxs) scattering data.
6
+
7
+ View the documentation [here](https://nxs-analysis-tools.readthedocs.io/en/stable/).
8
+
9
+ ## Installation
10
+
11
+ Install nxs-analysis-tools with ``pip``:
12
+
13
+ ```{code-block} console
14
+ pip install nxs-analysis-tools
15
+ ```
16
+
17
+ ## License
18
+
19
+ This project is licensed under the MIT License.
@@ -1,66 +1,66 @@
1
- # keep consistent with _meta/__init__.py
2
-
3
- [build-system]
4
- requires = ['setuptools>=61.2.0', 'wheel']
5
- build-backend = 'setuptools.build_meta'
6
-
7
- [project]
8
- name = 'nxs-analysis-tools'
9
- version = '0.0.29'
10
- description = 'Reduce and transform nexus format (.nxs) scattering data.'
11
- readme = 'README.md'
12
- requires-python = '>=3.7'
13
- license = { file = 'LICENSE' }
14
- authors = [{ name = 'Steven J. Gomez Alvarado', email = 'stevenjgomez@ucsb.edu' }]
15
-
16
- keywords = [
17
- 'diffraction',
18
- 'xrd',
19
- 'nexusformat',
20
- 'nexus',
21
- 'nxs',
22
- 'scattering',
23
- ]
24
- classifiers = [
25
- 'Development Status :: 1 - Planning',
26
- 'Intended Audience :: Science/Research',
27
- 'License :: OSI Approved :: MIT License',
28
- 'Programming Language :: Python',
29
- 'Programming Language :: Python :: 3',
30
- 'Programming Language :: Python :: 3.9',
31
- 'Programming Language :: Python :: 3.10',
32
- 'Topic :: Scientific/Engineering :: Image Processing',
33
- 'Topic :: Scientific/Engineering',
34
- ]
35
- dependencies = [
36
- 'matplotlib>=3.7.1',
37
- 'numpy>=1.24.3',
38
- 'ipython>=1.0.0',
39
- 'pandas>=2.0.2',
40
- 'nexusformat>=1.0.1',
41
- 'lmfit>=1.2.1',
42
- ]
43
-
44
- [project.optional-dependencies]
45
- dev = [
46
- 'build >= 0.8.0',
47
- 'furo >= 2022.6.21',
48
- 'ipykernel >= 6.9.1',
49
- 'myst-nb >= 0.16.0',
50
- 'myst-parser >= 0.18.0',
51
- 'numpydoc >= 1.4.0',
52
- 'pandoc >= 2.2',
53
- 'pylint >= 2.12.2',
54
- 'pytest >= 7.1.2',
55
- 'sphinx >= 5.0.2',
56
- 'sphinx-autobuild >= 2021.3.14',
57
- 'sphinx-copybutton >= 0.5.0',
58
- 'sphinxext-opengraph >= 0.6.3',
59
- 'twine >= 4.0.1',
60
- ]
61
-
62
- [project.urls]
63
- 'Download' = 'https://pypi.org/project/nxs-analysis-tools/'
64
- 'Bug Tracker' = 'https://github.com/stevenjgomez/nxs_analysis_tools/issues'
65
- 'Documentation' = 'https://nxs-analysis-tools.readthedocs.io/en/stable/'
66
- 'Source Code' = 'https://github.com/stevenjgomez/nxs_analysis_tools'
1
+ # keep consistent with _meta/__init__.py
2
+
3
+ [build-system]
4
+ requires = ['setuptools>=61.2.0', 'wheel']
5
+ build-backend = 'setuptools.build_meta'
6
+
7
+ [project]
8
+ name = 'nxs-analysis-tools'
9
+ version = '0.0.31'
10
+ description = 'Reduce and transform nexus format (.nxs) scattering data.'
11
+ readme = 'README.md'
12
+ requires-python = '>=3.7'
13
+ license = { file = 'LICENSE' }
14
+ authors = [{ name = 'Steven J. Gomez Alvarado', email = 'stevenjgomez@ucsb.edu' }]
15
+
16
+ keywords = [
17
+ 'diffraction',
18
+ 'xrd',
19
+ 'nexusformat',
20
+ 'nexus',
21
+ 'nxs',
22
+ 'scattering',
23
+ ]
24
+ classifiers = [
25
+ 'Development Status :: 1 - Planning',
26
+ 'Intended Audience :: Science/Research',
27
+ 'License :: OSI Approved :: MIT License',
28
+ 'Programming Language :: Python',
29
+ 'Programming Language :: Python :: 3',
30
+ 'Programming Language :: Python :: 3.9',
31
+ 'Programming Language :: Python :: 3.10',
32
+ 'Topic :: Scientific/Engineering :: Image Processing',
33
+ 'Topic :: Scientific/Engineering',
34
+ ]
35
+ dependencies = [
36
+ 'matplotlib>=3.7.1',
37
+ 'numpy>=1.24.3',
38
+ 'ipython>=1.0.0',
39
+ 'pandas>=2.0.2',
40
+ 'nexusformat>=1.0.1',
41
+ 'lmfit>=1.2.1',
42
+ ]
43
+
44
+ [project.optional-dependencies]
45
+ dev = [
46
+ 'build >= 0.8.0',
47
+ 'furo >= 2022.6.21',
48
+ 'ipykernel >= 6.9.1',
49
+ 'myst-nb >= 0.16.0',
50
+ 'myst-parser >= 0.18.0',
51
+ 'numpydoc >= 1.4.0',
52
+ 'pandoc >= 2.2',
53
+ 'pylint >= 2.12.2',
54
+ 'pytest >= 7.1.2',
55
+ 'sphinx >= 5.0.2',
56
+ 'sphinx-autobuild >= 2021.3.14',
57
+ 'sphinx-copybutton >= 0.5.0',
58
+ 'sphinxext-opengraph >= 0.6.3',
59
+ 'twine >= 4.0.1',
60
+ ]
61
+
62
+ [project.urls]
63
+ 'Download' = 'https://pypi.org/project/nxs-analysis-tools/'
64
+ 'Bug Tracker' = 'https://github.com/stevenjgomez/nxs_analysis_tools/issues'
65
+ 'Documentation' = 'https://nxs-analysis-tools.readthedocs.io/en/stable/'
66
+ 'Source Code' = 'https://github.com/stevenjgomez/nxs_analysis_tools'
@@ -1,5 +1,5 @@
1
- '''This file is included as a workaround for a limitation in Setuptools support for PEP 660.'''
2
-
3
- from setuptools import setup
4
-
1
+ '''This file is included as a workaround for a limitation in Setuptools support for PEP 660.'''
2
+
3
+ from setuptools import setup
4
+
5
5
  setup()
@@ -1,10 +1,10 @@
1
- '''nxs-analysis-tools package metadata.'''
2
-
3
- # keep consistent with pyproject.toml
4
- __project__ = 'nxs-analysis-tools'
5
- __author__ = 'Steven J. Gomez Alvarado'
6
- __email__ = 'stevenjgomez@ucsb.edu'
7
- __copyright__ = f"2023, {__author__}"
8
- __license__ = 'MIT'
9
- __version__= '0.0.29'
10
- __repo_url__ = 'https://github.com/stevenjgomez/nxs_analysis_tools'
1
+ '''nxs-analysis-tools package metadata.'''
2
+
3
+ # keep consistent with pyproject.toml
4
+ __project__ = 'nxs-analysis-tools'
5
+ __author__ = 'Steven J. Gomez Alvarado'
6
+ __email__ = 'stevenjgomez@ucsb.edu'
7
+ __copyright__ = f"2023, {__author__}"
8
+ __license__ = 'MIT'
9
+ __version__= '0.0.31'
10
+ __repo_url__ = 'https://github.com/stevenjgomez/nxs_analysis_tools'
@@ -1,12 +1,12 @@
1
- '''
2
- Reduce and transform nexus format (.nxs) scattering data.
3
- '''
4
-
5
- import numpy as np
6
- from _meta import __author__, __copyright__, __license__, __version__
7
- from .datareduction import load_data, plot_slice, reciprocal_lattice_params, Scissors, rotate_data
8
- from .chess import TempDependence
9
-
10
- # What to import when running "from nxs_analysis_tools import *"
11
- __all__ = ['load_data', 'plot_slice', 'Scissors', 'TempDependence',
12
- 'reciprocal_lattice_params', 'rotate_data']
1
+ '''
2
+ Reduce and transform nexus format (.nxs) scattering data.
3
+ '''
4
+
5
+ import numpy as np
6
+ from _meta import __author__, __copyright__, __license__, __version__
7
+ from .datareduction import load_data, plot_slice, reciprocal_lattice_params, Scissors, rotate_data
8
+ from .chess import TempDependence
9
+
10
+ # What to import when running "from nxs_analysis_tools import *"
11
+ __all__ = ['load_data', 'plot_slice', 'Scissors', 'TempDependence',
12
+ 'reciprocal_lattice_params', 'rotate_data']