nxs-analysis-tools 0.0.47__tar.gz → 0.1.2__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 (31) hide show
  1. {nxs_analysis_tools-0.0.47 → nxs_analysis_tools-0.1.2}/LICENSE +21 -21
  2. {nxs_analysis_tools-0.0.47 → nxs_analysis_tools-0.1.2}/MANIFEST.in +3 -3
  3. {nxs_analysis_tools-0.0.47/src/nxs_analysis_tools.egg-info → nxs_analysis_tools-0.1.2}/PKG-INFO +99 -89
  4. nxs_analysis_tools-0.1.2/README.md +29 -0
  5. {nxs_analysis_tools-0.0.47 → nxs_analysis_tools-0.1.2}/pyproject.toml +69 -69
  6. {nxs_analysis_tools-0.0.47 → nxs_analysis_tools-0.1.2}/setup.cfg +4 -4
  7. {nxs_analysis_tools-0.0.47 → nxs_analysis_tools-0.1.2}/setup.py +4 -4
  8. {nxs_analysis_tools-0.0.47 → nxs_analysis_tools-0.1.2}/src/_meta/__init__.py +10 -10
  9. {nxs_analysis_tools-0.0.47 → nxs_analysis_tools-0.1.2}/src/nxs_analysis_tools/__init__.py +14 -13
  10. {nxs_analysis_tools-0.0.47 → nxs_analysis_tools-0.1.2}/src/nxs_analysis_tools/chess.py +703 -697
  11. {nxs_analysis_tools-0.0.47 → nxs_analysis_tools-0.1.2}/src/nxs_analysis_tools/datareduction.py +1360 -1187
  12. {nxs_analysis_tools-0.0.47 → nxs_analysis_tools-0.1.2}/src/nxs_analysis_tools/fitting.py +259 -259
  13. {nxs_analysis_tools-0.0.47 → nxs_analysis_tools-0.1.2}/src/nxs_analysis_tools/pairdistribution.py +1650 -1650
  14. {nxs_analysis_tools-0.0.47 → nxs_analysis_tools-0.1.2/src/nxs_analysis_tools.egg-info}/PKG-INFO +99 -89
  15. {nxs_analysis_tools-0.0.47 → nxs_analysis_tools-0.1.2}/src/nxs_analysis_tools.egg-info/SOURCES.txt +1 -0
  16. {nxs_analysis_tools-0.0.47 → nxs_analysis_tools-0.1.2}/src/nxs_analysis_tools.egg-info/requires.txt +4 -4
  17. {nxs_analysis_tools-0.0.47 → nxs_analysis_tools-0.1.2}/tests/test_accurate_highlight.py +387 -387
  18. {nxs_analysis_tools-0.0.47 → nxs_analysis_tools-0.1.2}/tests/test_chess.py +15 -15
  19. {nxs_analysis_tools-0.0.47 → nxs_analysis_tools-0.1.2}/tests/test_chess_fitting.py +20 -20
  20. {nxs_analysis_tools-0.0.47 → nxs_analysis_tools-0.1.2}/tests/test_datareduction.py +19 -19
  21. {nxs_analysis_tools-0.0.47 → nxs_analysis_tools-0.1.2}/tests/test_fitting.py +27 -27
  22. {nxs_analysis_tools-0.0.47 → nxs_analysis_tools-0.1.2}/tests/test_lmfit.py +94 -94
  23. {nxs_analysis_tools-0.0.47 → nxs_analysis_tools-0.1.2}/tests/test_mask_plotting.py +387 -387
  24. {nxs_analysis_tools-0.0.47 → nxs_analysis_tools-0.1.2}/tests/test_pairdistribution.py +39 -39
  25. {nxs_analysis_tools-0.0.47 → nxs_analysis_tools-0.1.2}/tests/test_plot_slice_with_ndarray.py +276 -276
  26. nxs_analysis_tools-0.1.2/tests/test_rotate_data.py +23 -0
  27. {nxs_analysis_tools-0.0.47 → nxs_analysis_tools-0.1.2}/tests/test_sum_axis.py +298 -298
  28. {nxs_analysis_tools-0.0.47 → nxs_analysis_tools-0.1.2}/tests/test_symmetrizer_rectangular_plane.py +381 -381
  29. nxs_analysis_tools-0.0.47/README.md +0 -19
  30. {nxs_analysis_tools-0.0.47 → nxs_analysis_tools-0.1.2}/src/nxs_analysis_tools.egg-info/dependency_links.txt +0 -0
  31. {nxs_analysis_tools-0.0.47 → nxs_analysis_tools-0.1.2}/src/nxs_analysis_tools.egg-info/top_level.txt +0 -0
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2023-2025 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-2025 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,89 +1,99 @@
1
- Metadata-Version: 2.4
2
- Name: nxs-analysis-tools
3
- Version: 0.0.47
4
- Summary: Reduce and transform nexus format (.nxs) scattering data.
5
- Author-email: "Steven J. Gomez Alvarado" <stevenjgomez@ucsb.edu>
6
- License: MIT License
7
-
8
- Copyright (c) 2023-2025 Steven J. Gomez Alvarado
9
-
10
- Permission is hereby granted, free of charge, to any person obtaining a copy
11
- of this software and associated documentation files (the "Software"), to deal
12
- in the Software without restriction, including without limitation the rights
13
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
- copies of the Software, and to permit persons to whom the Software is
15
- furnished to do so, subject to the following conditions:
16
-
17
- The above copyright notice and this permission notice shall be included in all
18
- copies or substantial portions of the Software.
19
-
20
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
- SOFTWARE.
27
-
28
- Project-URL: Download, https://pypi.org/project/nxs-analysis-tools/
29
- Project-URL: Bug Tracker, https://github.com/stevenjgomez/nxs_analysis_tools/issues
30
- Project-URL: Documentation, https://nxs-analysis-tools.readthedocs.io/en/stable/
31
- Project-URL: Source Code, https://github.com/stevenjgomez/nxs_analysis_tools
32
- Keywords: diffraction,xrd,nexusformat,nexus,nxs,scattering
33
- Classifier: Development Status :: 1 - Planning
34
- Classifier: Intended Audience :: Science/Research
35
- Classifier: License :: OSI Approved :: MIT License
36
- Classifier: Programming Language :: Python
37
- Classifier: Programming Language :: Python :: 3
38
- Classifier: Programming Language :: Python :: 3.9
39
- Classifier: Programming Language :: Python :: 3.10
40
- Classifier: Topic :: Scientific/Engineering :: Image Processing
41
- Classifier: Topic :: Scientific/Engineering
42
- Requires-Python: >=3.7
43
- Description-Content-Type: text/markdown
44
- License-File: LICENSE
45
- Requires-Dist: matplotlib>=3.7.1
46
- Requires-Dist: numpy>=1.24.3
47
- Requires-Dist: ipython>=1.0.0
48
- Requires-Dist: pandas>=2.0.2
49
- Requires-Dist: nexusformat>=1.0.1
50
- Requires-Dist: lmfit>=1.2.1
51
- Requires-Dist: astropy>=5.3.4
52
- Requires-Dist: pyfftw>=0.13.1
53
- Requires-Dist: scipy>=1.14.1
54
- Provides-Extra: dev
55
- Requires-Dist: build>=0.8.0; extra == "dev"
56
- Requires-Dist: furo>=2022.6.21; extra == "dev"
57
- Requires-Dist: ipykernel>=6.9.1; extra == "dev"
58
- Requires-Dist: myst-nb>=0.16.0; extra == "dev"
59
- Requires-Dist: myst-parser>=0.18.0; extra == "dev"
60
- Requires-Dist: numpydoc>=1.4.0; extra == "dev"
61
- Requires-Dist: pandoc>=2.2; extra == "dev"
62
- Requires-Dist: pylint>=2.12.2; extra == "dev"
63
- Requires-Dist: pytest>=7.1.2; extra == "dev"
64
- Requires-Dist: sphinx>=5.0.2; extra == "dev"
65
- Requires-Dist: sphinx-autobuild>=2021.3.14; extra == "dev"
66
- Requires-Dist: sphinx-copybutton>=0.5.0; extra == "dev"
67
- Requires-Dist: sphinxext-opengraph>=0.6.3; extra == "dev"
68
- Requires-Dist: twine>=4.0.1; extra == "dev"
69
- Dynamic: license-file
70
-
71
- # nxs-analysis-tools
72
-
73
- ## Overview
74
-
75
- 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.
76
-
77
- View the documentation [here](https://nxs-analysis-tools.readthedocs.io/en/stable/).
78
-
79
- ## Installation
80
-
81
- Install nxs-analysis-tools with ``pip``:
82
-
83
- ```{code-block} console
84
- pip install nxs-analysis-tools
85
- ```
86
-
87
- ## License
88
-
89
- This project is licensed under the MIT License.
1
+ Metadata-Version: 2.4
2
+ Name: nxs-analysis-tools
3
+ Version: 0.1.2
4
+ Summary: Reduce and transform nexus format (.nxs) scattering data.
5
+ Author-email: "Steven J. Gomez Alvarado" <stevenjgomez@ucsb.edu>
6
+ License: MIT License
7
+
8
+ Copyright (c) 2023-2025 Steven J. Gomez Alvarado
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ of this software and associated documentation files (the "Software"), to deal
12
+ in the Software without restriction, including without limitation the rights
13
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ copies of the Software, and to permit persons to whom the Software is
15
+ furnished to do so, subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in all
18
+ copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
+ SOFTWARE.
27
+
28
+ Project-URL: Download, https://pypi.org/project/nxs-analysis-tools/
29
+ Project-URL: Bug Tracker, https://github.com/stevenjgomez/nxs_analysis_tools/issues
30
+ Project-URL: Documentation, https://nxs-analysis-tools.readthedocs.io/en/stable/
31
+ Project-URL: Source Code, https://github.com/stevenjgomez/nxs_analysis_tools
32
+ Keywords: diffraction,xrd,nexusformat,nexus,nxs,scattering
33
+ Classifier: Development Status :: 1 - Planning
34
+ Classifier: Intended Audience :: Science/Research
35
+ Classifier: License :: OSI Approved :: MIT License
36
+ Classifier: Programming Language :: Python
37
+ Classifier: Programming Language :: Python :: 3
38
+ Classifier: Programming Language :: Python :: 3.9
39
+ Classifier: Programming Language :: Python :: 3.10
40
+ Classifier: Topic :: Scientific/Engineering :: Image Processing
41
+ Classifier: Topic :: Scientific/Engineering
42
+ Requires-Python: >=3.7
43
+ Description-Content-Type: text/markdown
44
+ License-File: LICENSE
45
+ Requires-Dist: matplotlib>=3.10.0
46
+ Requires-Dist: numpy>=2.0.0
47
+ Requires-Dist: ipython>=1.0.0
48
+ Requires-Dist: pandas>=2.0.2
49
+ Requires-Dist: nexusformat>=1.0.8
50
+ Requires-Dist: lmfit>=1.2.1
51
+ Requires-Dist: astropy>=6.1.7
52
+ Requires-Dist: pyfftw>=0.13.1
53
+ Requires-Dist: scipy>=1.14.1
54
+ Provides-Extra: dev
55
+ Requires-Dist: build>=0.8.0; extra == "dev"
56
+ Requires-Dist: furo>=2022.6.21; extra == "dev"
57
+ Requires-Dist: ipykernel>=6.9.1; extra == "dev"
58
+ Requires-Dist: myst-nb>=0.16.0; extra == "dev"
59
+ Requires-Dist: myst-parser>=0.18.0; extra == "dev"
60
+ Requires-Dist: numpydoc>=1.4.0; extra == "dev"
61
+ Requires-Dist: pandoc>=2.2; extra == "dev"
62
+ Requires-Dist: pylint>=2.12.2; extra == "dev"
63
+ Requires-Dist: pytest>=7.1.2; extra == "dev"
64
+ Requires-Dist: sphinx>=5.0.2; extra == "dev"
65
+ Requires-Dist: sphinx-autobuild>=2021.3.14; extra == "dev"
66
+ Requires-Dist: sphinx-copybutton>=0.5.0; extra == "dev"
67
+ Requires-Dist: sphinxext-opengraph>=0.6.3; extra == "dev"
68
+ Requires-Dist: twine>=4.0.1; extra == "dev"
69
+ Dynamic: license-file
70
+
71
+ # nxs-analysis-tools
72
+
73
+ [![DOI](https://zenodo.org/badge/644189683.svg)](https://doi.org/10.5281/zenodo.15186359)
74
+ [![PyPI](https://img.shields.io/pypi/v/nxs-analysis-tools)](https://pypi.org/project/nxs-analysis-tools/)
75
+ [![Documentation Status](https://readthedocs.org/projects/nxs-analysis-tools/badge/?version=latest)](https://nxs-analysis-tools.readthedocs.io/en/latest/?badge=latest)
76
+
77
+ ## Overview
78
+
79
+ nxs-analysis-tools provides a suite of tools for slicing (2D), cutting (1D), and transforming (_e.g._, symmetrization, interpolation, delta-PDF) nexus format (.nxs) scattering data.
80
+
81
+ View the documentation [here](https://nxs-analysis-tools.readthedocs.io/en/stable/).
82
+
83
+ ## Installation
84
+
85
+ Install nxs-analysis-tools with ``pip``:
86
+
87
+ ```{code-block} console
88
+ pip install nxs-analysis-tools
89
+ ```
90
+
91
+ The source code can be downloaded from the nxs-analysis-tools Git repository:
92
+
93
+ ```{code-block} console
94
+ git clone https://github.com/stevenjgomez/nxs-analysis-tools.git
95
+ ```
96
+
97
+ ## License
98
+
99
+ This project is licensed under the MIT License.
@@ -0,0 +1,29 @@
1
+ # nxs-analysis-tools
2
+
3
+ [![DOI](https://zenodo.org/badge/644189683.svg)](https://doi.org/10.5281/zenodo.15186359)
4
+ [![PyPI](https://img.shields.io/pypi/v/nxs-analysis-tools)](https://pypi.org/project/nxs-analysis-tools/)
5
+ [![Documentation Status](https://readthedocs.org/projects/nxs-analysis-tools/badge/?version=latest)](https://nxs-analysis-tools.readthedocs.io/en/latest/?badge=latest)
6
+
7
+ ## Overview
8
+
9
+ nxs-analysis-tools provides a suite of tools for slicing (2D), cutting (1D), and transforming (_e.g._, symmetrization, interpolation, delta-PDF) nexus format (.nxs) scattering data.
10
+
11
+ View the documentation [here](https://nxs-analysis-tools.readthedocs.io/en/stable/).
12
+
13
+ ## Installation
14
+
15
+ Install nxs-analysis-tools with ``pip``:
16
+
17
+ ```{code-block} console
18
+ pip install nxs-analysis-tools
19
+ ```
20
+
21
+ The source code can be downloaded from the nxs-analysis-tools Git repository:
22
+
23
+ ```{code-block} console
24
+ git clone https://github.com/stevenjgomez/nxs-analysis-tools.git
25
+ ```
26
+
27
+ ## License
28
+
29
+ This project is licensed under the MIT License.
@@ -1,69 +1,69 @@
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.47'
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
- 'astropy>=5.3.4',
43
- 'pyfftw>=0.13.1',
44
- 'scipy>=1.14.1'
45
- ]
46
-
47
- [project.optional-dependencies]
48
- dev = [
49
- 'build >= 0.8.0',
50
- 'furo >= 2022.6.21',
51
- 'ipykernel >= 6.9.1',
52
- 'myst-nb >= 0.16.0',
53
- 'myst-parser >= 0.18.0',
54
- 'numpydoc >= 1.4.0',
55
- 'pandoc >= 2.2',
56
- 'pylint >= 2.12.2',
57
- 'pytest >= 7.1.2',
58
- 'sphinx >= 5.0.2',
59
- 'sphinx-autobuild >= 2021.3.14',
60
- 'sphinx-copybutton >= 0.5.0',
61
- 'sphinxext-opengraph >= 0.6.3',
62
- 'twine >= 4.0.1',
63
- ]
64
-
65
- [project.urls]
66
- 'Download' = 'https://pypi.org/project/nxs-analysis-tools/'
67
- 'Bug Tracker' = 'https://github.com/stevenjgomez/nxs_analysis_tools/issues'
68
- 'Documentation' = 'https://nxs-analysis-tools.readthedocs.io/en/stable/'
69
- '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.1.2'
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.10.0',
37
+ 'numpy>=2.0.0',
38
+ 'ipython>=1.0.0',
39
+ 'pandas>=2.0.2',
40
+ 'nexusformat>=1.0.8',
41
+ 'lmfit>=1.2.1',
42
+ 'astropy>=6.1.7',
43
+ 'pyfftw>=0.13.1',
44
+ 'scipy>=1.14.1'
45
+ ]
46
+
47
+ [project.optional-dependencies]
48
+ dev = [
49
+ 'build >= 0.8.0',
50
+ 'furo >= 2022.6.21',
51
+ 'ipykernel >= 6.9.1',
52
+ 'myst-nb >= 0.16.0',
53
+ 'myst-parser >= 0.18.0',
54
+ 'numpydoc >= 1.4.0',
55
+ 'pandoc >= 2.2',
56
+ 'pylint >= 2.12.2',
57
+ 'pytest >= 7.1.2',
58
+ 'sphinx >= 5.0.2',
59
+ 'sphinx-autobuild >= 2021.3.14',
60
+ 'sphinx-copybutton >= 0.5.0',
61
+ 'sphinxext-opengraph >= 0.6.3',
62
+ 'twine >= 4.0.1',
63
+ ]
64
+
65
+ [project.urls]
66
+ 'Download' = 'https://pypi.org/project/nxs-analysis-tools/'
67
+ 'Bug Tracker' = 'https://github.com/stevenjgomez/nxs_analysis_tools/issues'
68
+ 'Documentation' = 'https://nxs-analysis-tools.readthedocs.io/en/stable/'
69
+ 'Source Code' = 'https://github.com/stevenjgomez/nxs_analysis_tools'
@@ -1,4 +1,4 @@
1
- [egg_info]
2
- tag_build =
3
- tag_date = 0
4
-
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -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-2025, {__author__}"
8
- __license__ = 'MIT'
9
- __version__ = '0.0.47'
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-2025, {__author__}"
8
+ __license__ = 'MIT'
9
+ __version__ = '0.1.2'
10
+ __repo_url__ = 'https://github.com/stevenjgomez/nxs_analysis_tools'
@@ -1,13 +1,14 @@
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, load_transform, plot_slice,\
8
- reciprocal_lattice_params, Scissors, rotate_data
9
- from .chess import TempDependence
10
-
11
- # What to import when running "from nxs_analysis_tools import *"
12
- __all__ = ['load_data', 'load_transform', 'plot_slice', 'Scissors', 'TempDependence',
13
- '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 *
8
+ from .chess import TempDependence
9
+
10
+ # What to import when running "from nxs_analysis_tools import *"
11
+ __all__ = ['load_data', 'load_transform', 'plot_slice', 'Scissors',
12
+ 'reciprocal_lattice_params', 'rotate_data', 'rotate_data_2D',
13
+ 'convert_to_inverse_angstroms', 'array_to_nxdata', 'Padder',
14
+ 'rebin_nxdata', 'rebin_3d', 'rebin_1d'] + ['TempDependence']