nxs-analysis-tools 0.0.24__py3-none-any.whl → 0.0.25__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 +1 -1
- nxs_analysis_tools/datareduction.py +19 -0
- {nxs_analysis_tools-0.0.24.dist-info → nxs_analysis_tools-0.0.25.dist-info}/METADATA +1 -1
- nxs_analysis_tools-0.0.25.dist-info/RECORD +11 -0
- nxs_analysis_tools-0.0.24.dist-info/RECORD +0 -11
- {nxs_analysis_tools-0.0.24.dist-info → nxs_analysis_tools-0.0.25.dist-info}/LICENSE +0 -0
- {nxs_analysis_tools-0.0.24.dist-info → nxs_analysis_tools-0.0.25.dist-info}/WHEEL +0 -0
- {nxs_analysis_tools-0.0.24.dist-info → nxs_analysis_tools-0.0.25.dist-info}/top_level.txt +0 -0
_meta/__init__.py
CHANGED
|
@@ -656,6 +656,25 @@ def reciprocal_lattice_params(lattice_params):
|
|
|
656
656
|
|
|
657
657
|
|
|
658
658
|
def rotate_data(data, lattice_angle, rotation_angle, rotation_axis):
|
|
659
|
+
"""
|
|
660
|
+
Rotates 3D data around a specified axis.
|
|
661
|
+
|
|
662
|
+
Parameters
|
|
663
|
+
----------
|
|
664
|
+
data : :class:`nexusformat.nexus.NXdata`
|
|
665
|
+
Input data.
|
|
666
|
+
lattice_angle : float
|
|
667
|
+
Angle between the two in-plane lattice axes in degrees.
|
|
668
|
+
rotation_angle : float
|
|
669
|
+
Angle of rotation in degrees.
|
|
670
|
+
rotation_axis : int
|
|
671
|
+
Axis of rotation (0, 1, or 2).
|
|
672
|
+
|
|
673
|
+
Returns
|
|
674
|
+
-------
|
|
675
|
+
rotated_data : :class:`nexusformat.nexus.NXdata`
|
|
676
|
+
Rotated data as an NXdata object.
|
|
677
|
+
"""
|
|
659
678
|
# Define output array
|
|
660
679
|
output_array = np.zeros(data[data.signal].shape)
|
|
661
680
|
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
_meta/__init__.py,sha256=7cJjLXTZ19DjCsiIgJYt59ddCxaAy7fKcbVw6mC6zNQ,351
|
|
2
|
+
nxs_analysis_tools/__init__.py,sha256=HAdFMaImTfd2nCP1XzeSwreAv-wK6CeJbTn92aDQ-Bc,490
|
|
3
|
+
nxs_analysis_tools/chess.py,sha256=tNWc5xiwEjdtVPq0FFm2dCP2xvtkuv4IkMLur7Qeqjs,14079
|
|
4
|
+
nxs_analysis_tools/datareduction.py,sha256=lBydXjACptm8WHlO3knZP-ridjorPuoW_sqe7Bip73s,32112
|
|
5
|
+
nxs_analysis_tools/fitting.py,sha256=f0wUn2uLwT6a2Yg8QgzzSdR0zgqjjeNMj-H_HJh7D6o,8888
|
|
6
|
+
nxs_analysis_tools/pairdistribution.py,sha256=-_ULgC1XA9UKposzk51-64Y3cPWqdnBNAK7sdVTGHXM,20972
|
|
7
|
+
nxs_analysis_tools-0.0.25.dist-info/LICENSE,sha256=tdnoYVH1-ogW_5-gGs9bK-IkCamH1ATJqrdL37kWTHk,1102
|
|
8
|
+
nxs_analysis_tools-0.0.25.dist-info/METADATA,sha256=2o3IJevdoU9hoWwkIMens_mXpWxNrJSdX2DXnLzysG8,3837
|
|
9
|
+
nxs_analysis_tools-0.0.25.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
10
|
+
nxs_analysis_tools-0.0.25.dist-info/top_level.txt,sha256=8U000GNPzo6T6pOMjRdgOSO5heMzLMGjkxa1CDtyMHM,25
|
|
11
|
+
nxs_analysis_tools-0.0.25.dist-info/RECORD,,
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
_meta/__init__.py,sha256=r0Ase6Ih3vOGewSw2K6QkWAzQE4R3G8xMrq0sSCLJEk,351
|
|
2
|
-
nxs_analysis_tools/__init__.py,sha256=HAdFMaImTfd2nCP1XzeSwreAv-wK6CeJbTn92aDQ-Bc,490
|
|
3
|
-
nxs_analysis_tools/chess.py,sha256=tNWc5xiwEjdtVPq0FFm2dCP2xvtkuv4IkMLur7Qeqjs,14079
|
|
4
|
-
nxs_analysis_tools/datareduction.py,sha256=erVNUwhrKR9HCBG3y7Xq9u_c1gC-4i_nxQIHZ490R_Y,31598
|
|
5
|
-
nxs_analysis_tools/fitting.py,sha256=f0wUn2uLwT6a2Yg8QgzzSdR0zgqjjeNMj-H_HJh7D6o,8888
|
|
6
|
-
nxs_analysis_tools/pairdistribution.py,sha256=-_ULgC1XA9UKposzk51-64Y3cPWqdnBNAK7sdVTGHXM,20972
|
|
7
|
-
nxs_analysis_tools-0.0.24.dist-info/LICENSE,sha256=tdnoYVH1-ogW_5-gGs9bK-IkCamH1ATJqrdL37kWTHk,1102
|
|
8
|
-
nxs_analysis_tools-0.0.24.dist-info/METADATA,sha256=0EGeya_gMxIOlEPxIeM-8tTU4sOoc2Bq8RMCnAc-Yr4,3837
|
|
9
|
-
nxs_analysis_tools-0.0.24.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
10
|
-
nxs_analysis_tools-0.0.24.dist-info/top_level.txt,sha256=8U000GNPzo6T6pOMjRdgOSO5heMzLMGjkxa1CDtyMHM,25
|
|
11
|
-
nxs_analysis_tools-0.0.24.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|