nxs-analysis-tools 0.0.30__py3-none-any.whl → 0.0.31__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.30'
9
+ __version__= '0.0.31'
10
10
  __repo_url__ = 'https://github.com/stevenjgomez/nxs_analysis_tools'
@@ -359,8 +359,8 @@ class Scissors:
359
359
  """
360
360
 
361
361
  self.data = data
362
- self.center = center
363
- self.window = window
362
+ self.center = tuple([float(i) for i in center])
363
+ self.window = tuple([float(i) for i in window])
364
364
  self.axis = axis
365
365
 
366
366
  self.integration_volume = None
@@ -399,7 +399,7 @@ class Scissors:
399
399
  center : tuple
400
400
  Central coordinate around which to perform the linecut.
401
401
  """
402
- self.center = center
402
+ self.center = tuple([float(i) for i in center])
403
403
 
404
404
  def set_window(self, window):
405
405
  """
@@ -410,7 +410,7 @@ class Scissors:
410
410
  window : tuple
411
411
  Extents of the window for integration along each axis.
412
412
  """
413
- self.window = window
413
+ self.window = tuple([float(i) for i in window])
414
414
 
415
415
  # Determine the axis for integration
416
416
  self.axis = window.index(max(window))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: nxs-analysis-tools
3
- Version: 0.0.30
3
+ Version: 0.0.31
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=0kyW7kgZUMGJR6cG6Az9g0KPWIcjltgE_WiwAe5eKVo,341
2
+ nxs_analysis_tools/__init__.py,sha256=M1CwbeR4G6iYVs2hu7QrOQm1hQZa3o9vPYw5k4x9wp4,478
3
+ nxs_analysis_tools/chess.py,sha256=CexPRXtQZchtIFoj_bXkFmiQ7QQ40nmc-hmELLCR-Vk,13713
4
+ nxs_analysis_tools/datareduction.py,sha256=mk8FkBGuByDc1jQt97Ssx1bkG1rlFbxOeBHY_3vM_Rg,31837
5
+ nxs_analysis_tools/fitting.py,sha256=1LswVD-Dbf149ttZiRJUCqXDjpIyTa7LWSRPHLQ6EPo,8797
6
+ nxs_analysis_tools/pairdistribution.py,sha256=3SKQPfIeqjtBkz6qq31dUxC8rY6QNfI616g_TSIn9S0,20457
7
+ nxs_analysis_tools-0.0.31.dist-info/LICENSE,sha256=tJVZI9QalK5m8Ppky3aYrhCEyIr1sy35LgzelIyXgDo,1081
8
+ nxs_analysis_tools-0.0.31.dist-info/METADATA,sha256=fCMn7rO4dj52qsIuht504QpjesOw2GrJQJNu_gKAjH4,3837
9
+ nxs_analysis_tools-0.0.31.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
10
+ nxs_analysis_tools-0.0.31.dist-info/top_level.txt,sha256=8U000GNPzo6T6pOMjRdgOSO5heMzLMGjkxa1CDtyMHM,25
11
+ nxs_analysis_tools-0.0.31.dist-info/RECORD,,
@@ -1,11 +0,0 @@
1
- _meta/__init__.py,sha256=SMRiyGK564aU8imU2T3lcaMBFrx0rsZJQWgrnPsAhFY,341
2
- nxs_analysis_tools/__init__.py,sha256=M1CwbeR4G6iYVs2hu7QrOQm1hQZa3o9vPYw5k4x9wp4,478
3
- nxs_analysis_tools/chess.py,sha256=CexPRXtQZchtIFoj_bXkFmiQ7QQ40nmc-hmELLCR-Vk,13713
4
- nxs_analysis_tools/datareduction.py,sha256=zuEHE-OX78WoxRyRFgWNpTaxN_0wEMAAAJ4bLcEe03E,31729
5
- nxs_analysis_tools/fitting.py,sha256=1LswVD-Dbf149ttZiRJUCqXDjpIyTa7LWSRPHLQ6EPo,8797
6
- nxs_analysis_tools/pairdistribution.py,sha256=3SKQPfIeqjtBkz6qq31dUxC8rY6QNfI616g_TSIn9S0,20457
7
- nxs_analysis_tools-0.0.30.dist-info/LICENSE,sha256=tJVZI9QalK5m8Ppky3aYrhCEyIr1sy35LgzelIyXgDo,1081
8
- nxs_analysis_tools-0.0.30.dist-info/METADATA,sha256=v3WFwv4DIqLa7hlWhQaN5Nq8nCXn-8-bwCFh-KJJw_c,3837
9
- nxs_analysis_tools-0.0.30.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
10
- nxs_analysis_tools-0.0.30.dist-info/top_level.txt,sha256=8U000GNPzo6T6pOMjRdgOSO5heMzLMGjkxa1CDtyMHM,25
11
- nxs_analysis_tools-0.0.30.dist-info/RECORD,,