nxs-analysis-tools 0.0.34__py3-none-any.whl → 0.0.35__py3-none-any.whl
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.
- _meta/__init__.py +10 -10
- nxs_analysis_tools/__init__.py +12 -12
- nxs_analysis_tools/chess.py +5 -0
- {nxs_analysis_tools-0.0.34.dist-info → nxs_analysis_tools-0.0.35.dist-info}/LICENSE +21 -21
- {nxs_analysis_tools-0.0.34.dist-info → nxs_analysis_tools-0.0.35.dist-info}/METADATA +1 -1
- nxs_analysis_tools-0.0.35.dist-info/RECORD +11 -0
- nxs_analysis_tools-0.0.34.dist-info/RECORD +0 -11
- {nxs_analysis_tools-0.0.34.dist-info → nxs_analysis_tools-0.0.35.dist-info}/WHEEL +0 -0
- {nxs_analysis_tools-0.0.34.dist-info → nxs_analysis_tools-0.0.35.dist-info}/top_level.txt +0 -0
_meta/__init__.py
CHANGED
|
@@ -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.
|
|
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.35'
|
|
10
|
+
__repo_url__ = 'https://github.com/stevenjgomez/nxs_analysis_tools'
|
nxs_analysis_tools/__init__.py
CHANGED
|
@@ -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, load_transform, 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', 'load_transform', '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, load_transform, 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', 'load_transform', 'plot_slice', 'Scissors', 'TempDependence',
|
|
12
|
+
'reciprocal_lattice_params', 'rotate_data']
|
nxs_analysis_tools/chess.py
CHANGED
|
@@ -75,6 +75,11 @@ class TempDependence:
|
|
|
75
75
|
# Initialize linecutmodel object at each temperature
|
|
76
76
|
self.linecutmodels[temperature] = LinecutModel()
|
|
77
77
|
|
|
78
|
+
# Convert to int temporarily to sort temperatures list
|
|
79
|
+
self.temperatures = [int(t) for t in self.temperatures]
|
|
80
|
+
self.temperatures.sort()
|
|
81
|
+
self.temperatures = [str(t) for t in self.temperatures]
|
|
82
|
+
|
|
78
83
|
def load_datasets(self, file_ending='hkli.nxs', temperatures_list=None):
|
|
79
84
|
"""
|
|
80
85
|
Load scattering datasets from the specified folder.
|
|
@@ -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.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
_meta/__init__.py,sha256=BhaSspPWRMnoLdeyeTWJYgn-GqMVeJ2U436eiuY_1jU,351
|
|
2
|
+
nxs_analysis_tools/__init__.py,sha256=ozetNSQc85rWB_ZhuL6dTmJzGELlc6XylPvJebKLcZw,524
|
|
3
|
+
nxs_analysis_tools/chess.py,sha256=i-JZN1KJtdM6HEBk8AKuM57g6jWmTXG7KGTbwinhIHk,16541
|
|
4
|
+
nxs_analysis_tools/datareduction.py,sha256=CquPJk9KdbaNXpDIgug_noCVeo4Mug1qBpBKHZLSrUo,37311
|
|
5
|
+
nxs_analysis_tools/fitting.py,sha256=uRb675UmxdOh14Kqb_ypUokUTsItvcl7fS9wB9Xq778,8795
|
|
6
|
+
nxs_analysis_tools/pairdistribution.py,sha256=-olXe43qM9WtLI7mdtnAX09nUlDHzWQFIXp8XJM6jFw,24046
|
|
7
|
+
nxs_analysis_tools-0.0.35.dist-info/LICENSE,sha256=tdnoYVH1-ogW_5-gGs9bK-IkCamH1ATJqrdL37kWTHk,1102
|
|
8
|
+
nxs_analysis_tools-0.0.35.dist-info/METADATA,sha256=TtxpjEAJI_bZ32tWyh0WWFkvVgAjoItLxNqLcntCNHU,3837
|
|
9
|
+
nxs_analysis_tools-0.0.35.dist-info/WHEEL,sha256=Wyh-_nZ0DJYolHNn1_hMa4lM7uDedD_RGVwbmTjyItk,91
|
|
10
|
+
nxs_analysis_tools-0.0.35.dist-info/top_level.txt,sha256=8U000GNPzo6T6pOMjRdgOSO5heMzLMGjkxa1CDtyMHM,25
|
|
11
|
+
nxs_analysis_tools-0.0.35.dist-info/RECORD,,
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
_meta/__init__.py,sha256=6HMi5psdxQiCMbfobtyx35kt4NppRXBEZbIrLdjC8Qw,341
|
|
2
|
-
nxs_analysis_tools/__init__.py,sha256=OrvTZUuAE5nwqeEBNGwtigq8k6hI_ylI3Inu-cMiovk,512
|
|
3
|
-
nxs_analysis_tools/chess.py,sha256=sim3sdwUTsQkAd8uDe_ecIqq59DIlLWF8cyAJSlBTqs,16311
|
|
4
|
-
nxs_analysis_tools/datareduction.py,sha256=CquPJk9KdbaNXpDIgug_noCVeo4Mug1qBpBKHZLSrUo,37311
|
|
5
|
-
nxs_analysis_tools/fitting.py,sha256=uRb675UmxdOh14Kqb_ypUokUTsItvcl7fS9wB9Xq778,8795
|
|
6
|
-
nxs_analysis_tools/pairdistribution.py,sha256=-olXe43qM9WtLI7mdtnAX09nUlDHzWQFIXp8XJM6jFw,24046
|
|
7
|
-
nxs_analysis_tools-0.0.34.dist-info/LICENSE,sha256=tJVZI9QalK5m8Ppky3aYrhCEyIr1sy35LgzelIyXgDo,1081
|
|
8
|
-
nxs_analysis_tools-0.0.34.dist-info/METADATA,sha256=fh8u1VFziEjfZsJ7RpVipTOHyu3bD81X-raz7zcNrmM,3837
|
|
9
|
-
nxs_analysis_tools-0.0.34.dist-info/WHEEL,sha256=Wyh-_nZ0DJYolHNn1_hMa4lM7uDedD_RGVwbmTjyItk,91
|
|
10
|
-
nxs_analysis_tools-0.0.34.dist-info/top_level.txt,sha256=8U000GNPzo6T6pOMjRdgOSO5heMzLMGjkxa1CDtyMHM,25
|
|
11
|
-
nxs_analysis_tools-0.0.34.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|