nxs-analysis-tools 0.0.44__py3-none-any.whl → 0.0.45__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 CHANGED
@@ -6,5 +6,5 @@ __author__ = 'Steven J. Gomez Alvarado'
6
6
  __email__ = 'stevenjgomez@ucsb.edu'
7
7
  __copyright__ = f"2023, {__author__}"
8
8
  __license__ = 'MIT'
9
- __version__ = '0.0.44'
9
+ __version__ = '0.0.45'
10
10
  __repo_url__ = 'https://github.com/stevenjgomez/nxs_analysis_tools'
@@ -197,7 +197,7 @@ class Symmetrizer2D:
197
197
  # Scale and skew counts
198
198
  skew_angle_adj = 90 - self.skew_angle
199
199
 
200
- scale2 = q1.max()/q2.max()
200
+ scale2 = 1 # q1.max()/q2.max() # TODO: Need to double check this
201
201
  counts_unscaled2 = ndimage.affine_transform(counts,
202
202
  Affine2D().scale(scale2, 1).inverted().get_matrix()[:2, :2],
203
203
  offset=[-(1 - scale2) * counts.shape[
@@ -253,7 +253,7 @@ class Symmetrizer2D:
253
253
  order=0,
254
254
  )
255
255
 
256
- scale2 = q1.max()/q2.max()
256
+ scale2 = counts.shape[0]/counts.shape[1]
257
257
  wedge = ndimage.affine_transform(wedge,
258
258
  Affine2D().scale(scale2, 1).get_matrix()[:2, :2],
259
259
  offset=[(1 - scale2) * counts.shape[0] / 2, 0],
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nxs-analysis-tools
3
- Version: 0.0.44
3
+ Version: 0.0.45
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
@@ -0,0 +1,11 @@
1
+ _meta/__init__.py,sha256=_FU9nkOG1MKsIB1CYm_1yIt6hHVXjoLMxh9CqkZr_sQ,352
2
+ nxs_analysis_tools/__init__.py,sha256=bxbTLpIcKasH3fuRZOvJ9zeu7IBBju82mOTgUV4ZqHE,530
3
+ nxs_analysis_tools/chess.py,sha256=Jtycq4b897bKQSwvf2zig2dA2ToPgQnsKEjHNCqK7wY,25825
4
+ nxs_analysis_tools/datareduction.py,sha256=4yk-UZIdEwlEHj9iEEyeJHM820MHdGyVf4VlKSx3YUI,41982
5
+ nxs_analysis_tools/fitting.py,sha256=vPx75lKvm5pWOGBtRtff8k6J5dA6kRk3EJyzxCH5Tyk,8809
6
+ nxs_analysis_tools/pairdistribution.py,sha256=SDkxAWschiIBZX1Kvzex77LEgX4YlgnB-8DB_7Yo9mU,60293
7
+ nxs_analysis_tools-0.0.45.dist-info/licenses/LICENSE,sha256=tdnoYVH1-ogW_5-gGs9bK-IkCamH1ATJqrdL37kWTHk,1102
8
+ nxs_analysis_tools-0.0.45.dist-info/METADATA,sha256=AKCAQZFj7ErkOPLy1_eOr_TGMxzJGq2o3Nz8uLiiM3Y,3918
9
+ nxs_analysis_tools-0.0.45.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
10
+ nxs_analysis_tools-0.0.45.dist-info/top_level.txt,sha256=8U000GNPzo6T6pOMjRdgOSO5heMzLMGjkxa1CDtyMHM,25
11
+ nxs_analysis_tools-0.0.45.dist-info/RECORD,,
@@ -1,11 +0,0 @@
1
- _meta/__init__.py,sha256=H_u29LAoJAtarfxcxmhciZiDadzDj-Y6vHkpb3-6c9g,352
2
- nxs_analysis_tools/__init__.py,sha256=bxbTLpIcKasH3fuRZOvJ9zeu7IBBju82mOTgUV4ZqHE,530
3
- nxs_analysis_tools/chess.py,sha256=Jtycq4b897bKQSwvf2zig2dA2ToPgQnsKEjHNCqK7wY,25825
4
- nxs_analysis_tools/datareduction.py,sha256=4yk-UZIdEwlEHj9iEEyeJHM820MHdGyVf4VlKSx3YUI,41982
5
- nxs_analysis_tools/fitting.py,sha256=vPx75lKvm5pWOGBtRtff8k6J5dA6kRk3EJyzxCH5Tyk,8809
6
- nxs_analysis_tools/pairdistribution.py,sha256=dJoE2jJEsdFVCcIuBk_Z6JChmcc2uvSa94df2K0Mg3c,60241
7
- nxs_analysis_tools-0.0.44.dist-info/licenses/LICENSE,sha256=tdnoYVH1-ogW_5-gGs9bK-IkCamH1ATJqrdL37kWTHk,1102
8
- nxs_analysis_tools-0.0.44.dist-info/METADATA,sha256=i3XJ5TQqQZhIDI6jEOYLxZnsLkgfaUmvds-iAH7X7Og,3918
9
- nxs_analysis_tools-0.0.44.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
10
- nxs_analysis_tools-0.0.44.dist-info/top_level.txt,sha256=8U000GNPzo6T6pOMjRdgOSO5heMzLMGjkxa1CDtyMHM,25
11
- nxs_analysis_tools-0.0.44.dist-info/RECORD,,