nxs-analysis-tools 0.0.46__tar.gz → 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.
Potentially problematic release.
This version of nxs-analysis-tools might be problematic. Click here for more details.
- {nxs_analysis_tools-0.0.46 → nxs_analysis_tools-0.1.0}/LICENSE +21 -21
- {nxs_analysis_tools-0.0.46 → nxs_analysis_tools-0.1.0}/MANIFEST.in +3 -3
- {nxs_analysis_tools-0.0.46/src/nxs_analysis_tools.egg-info → nxs_analysis_tools-0.1.0}/PKG-INFO +95 -89
- {nxs_analysis_tools-0.0.46 → nxs_analysis_tools-0.1.0}/README.md +25 -19
- {nxs_analysis_tools-0.0.46 → nxs_analysis_tools-0.1.0}/pyproject.toml +69 -69
- {nxs_analysis_tools-0.0.46 → nxs_analysis_tools-0.1.0}/setup.cfg +4 -4
- {nxs_analysis_tools-0.0.46 → nxs_analysis_tools-0.1.0}/setup.py +4 -4
- {nxs_analysis_tools-0.0.46 → nxs_analysis_tools-0.1.0}/src/_meta/__init__.py +10 -10
- {nxs_analysis_tools-0.0.46 → nxs_analysis_tools-0.1.0}/src/nxs_analysis_tools/__init__.py +14 -13
- {nxs_analysis_tools-0.0.46 → nxs_analysis_tools-0.1.0}/src/nxs_analysis_tools/chess.py +703 -697
- {nxs_analysis_tools-0.0.46 → nxs_analysis_tools-0.1.0}/src/nxs_analysis_tools/datareduction.py +1360 -1132
- {nxs_analysis_tools-0.0.46 → nxs_analysis_tools-0.1.0}/src/nxs_analysis_tools/fitting.py +259 -259
- {nxs_analysis_tools-0.0.46 → nxs_analysis_tools-0.1.0}/src/nxs_analysis_tools/pairdistribution.py +1650 -1650
- {nxs_analysis_tools-0.0.46 → nxs_analysis_tools-0.1.0/src/nxs_analysis_tools.egg-info}/PKG-INFO +95 -89
- {nxs_analysis_tools-0.0.46 → nxs_analysis_tools-0.1.0}/src/nxs_analysis_tools.egg-info/SOURCES.txt +3 -0
- {nxs_analysis_tools-0.0.46 → nxs_analysis_tools-0.1.0}/src/nxs_analysis_tools.egg-info/requires.txt +4 -4
- nxs_analysis_tools-0.1.0/tests/test_accurate_highlight.py +388 -0
- {nxs_analysis_tools-0.0.46 → nxs_analysis_tools-0.1.0}/tests/test_chess.py +15 -15
- {nxs_analysis_tools-0.0.46 → nxs_analysis_tools-0.1.0}/tests/test_chess_fitting.py +20 -20
- {nxs_analysis_tools-0.0.46 → nxs_analysis_tools-0.1.0}/tests/test_datareduction.py +19 -19
- {nxs_analysis_tools-0.0.46 → nxs_analysis_tools-0.1.0}/tests/test_fitting.py +27 -27
- {nxs_analysis_tools-0.0.46 → nxs_analysis_tools-0.1.0}/tests/test_lmfit.py +94 -94
- {nxs_analysis_tools-0.0.46 → nxs_analysis_tools-0.1.0}/tests/test_mask_plotting.py +387 -387
- {nxs_analysis_tools-0.0.46 → nxs_analysis_tools-0.1.0}/tests/test_pairdistribution.py +39 -39
- {nxs_analysis_tools-0.0.46 → nxs_analysis_tools-0.1.0}/tests/test_plot_slice_with_ndarray.py +276 -276
- nxs_analysis_tools-0.1.0/tests/test_rotate_data.py +23 -0
- nxs_analysis_tools-0.1.0/tests/test_sum_axis.py +299 -0
- {nxs_analysis_tools-0.0.46 → nxs_analysis_tools-0.1.0}/tests/test_symmetrizer_rectangular_plane.py +381 -381
- {nxs_analysis_tools-0.0.46 → nxs_analysis_tools-0.1.0}/src/nxs_analysis_tools.egg-info/dependency_links.txt +0 -0
- {nxs_analysis_tools-0.0.46 → nxs_analysis_tools-0.1.0}/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/*
|
{nxs_analysis_tools-0.0.46/src/nxs_analysis_tools.egg-info → nxs_analysis_tools-0.1.0}/PKG-INFO
RENAMED
|
@@ -1,89 +1,95 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: nxs-analysis-tools
|
|
3
|
-
Version: 0.0
|
|
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.
|
|
46
|
-
Requires-Dist: numpy>=
|
|
47
|
-
Requires-Dist: ipython>=1.0.0
|
|
48
|
-
Requires-Dist: pandas>=2.0.2
|
|
49
|
-
Requires-Dist: nexusformat>=1.0.
|
|
50
|
-
Requires-Dist: lmfit>=1.2.1
|
|
51
|
-
Requires-Dist: astropy>=
|
|
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 (
|
|
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
|
-
|
|
88
|
-
|
|
89
|
-
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: nxs-analysis-tools
|
|
3
|
+
Version: 0.1.0
|
|
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>=7.0.1
|
|
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._, symmetrization, interpolation, delta-PDF) 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
|
+
The source code can be downloaded from the nxs-analysis-tools Git repository:
|
|
88
|
+
|
|
89
|
+
```{code-block} console
|
|
90
|
+
git clone https://github.com/stevenjgomez/nxs-analysis-tools.git
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
## License
|
|
94
|
+
|
|
95
|
+
This project is licensed under the MIT License.
|
|
@@ -1,19 +1,25 @@
|
|
|
1
|
-
# nxs-analysis-tools
|
|
2
|
-
|
|
3
|
-
## Overview
|
|
4
|
-
|
|
5
|
-
nxs-analysis-tools provides a suite of tools for slicing (2D), cutting (1D), and transforming (
|
|
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
|
-
|
|
18
|
-
|
|
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._, symmetrization, interpolation, delta-PDF) 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
|
+
The source code can be downloaded from the nxs-analysis-tools Git repository:
|
|
18
|
+
|
|
19
|
+
```{code-block} console
|
|
20
|
+
git clone https://github.com/stevenjgomez/nxs-analysis-tools.git
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## License
|
|
24
|
+
|
|
25
|
+
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
|
|
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.
|
|
37
|
-
'numpy>=
|
|
38
|
-
'ipython>=1.0.0',
|
|
39
|
-
'pandas>=2.0.2',
|
|
40
|
-
'nexusformat>=1.0.
|
|
41
|
-
'lmfit>=1.2.1',
|
|
42
|
-
'astropy>=
|
|
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.0'
|
|
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>=7.0.1',
|
|
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
|
|
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.0'
|
|
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
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
'
|
|
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']
|