nabu 2025.1.0rc3__py3-none-any.whl → 2025.1.0rc4__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.
nabu/__init__.py CHANGED
@@ -1,4 +1,4 @@
1
- __version__ = "2025.1.0-rc3"
1
+ __version__ = "2025.1.0-rc4"
2
2
  __nabu_modules__ = [
3
3
  "app",
4
4
  "cuda",
@@ -328,8 +328,8 @@ class DatasetAnalyzer:
328
328
  Return True iff the scan is 360 degrees (regardless of half-tomo mode)
329
329
  """
330
330
  angles = self.rotation_angles
331
- d_theta = angles[1] - angles[0]
332
- return np.isclose(angles.max() - angles.min(), 2 * np.pi, atol=2 * d_theta)
331
+ delta_theta = abs(angles.max() - angles.min())
332
+ return abs(delta_theta - 2 * np.pi) < abs(delta_theta - np.pi)
333
333
 
334
334
 
335
335
  class EDFDatasetAnalyzer(DatasetAnalyzer):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nabu
3
- Version: 2025.1.0rc3
3
+ Version: 2025.1.0rc4
4
4
  Summary: Nabu - Tomography software
5
5
  Author-email: Pierre Paleo <pierre.paleo@esrf.fr>, Henri Payno <henri.payno@esrf.fr>, Alessandro Mirone <mirone@esrf.fr>, Jérôme Lesaint <jerome.lesaint@esrf.fr>
6
6
  Maintainer-email: Pierre Paleo <pierre.paleo@esrf.fr>
@@ -1,7 +1,7 @@
1
1
  doc/conf.py,sha256=3xtCarCHrXPr50GbeRDuH-o3Jzojw7mpr7vpGfZPLAE,3787
2
2
  doc/create_conf_doc.py,sha256=IVOdP70KvbW9WS_UQu3Iyd0YfS60E2fJ5IDtQ_s4cDw,1143
3
3
  doc/get_mathjax.py,sha256=VIvKRCdDuF2VoY8JD3mSey9XX13AZMmwTJBHdt1tUs4,1012
4
- nabu/__init__.py,sha256=weQJf5hGEi-BzNCLAkn3BNQ71AJRC7nINDlNmkELmCc,274
4
+ nabu/__init__.py,sha256=waOXCo09WU13AvD2yj5_z4BwLMETdXY_nQRy_RoRw7E,274
5
5
  nabu/tests.py,sha256=hOJD1GGxn_KE1bWMoxfjnjzI7d9JBUpoc9B2_tVFiEk,1370
6
6
  nabu/testutils.py,sha256=eL81DWgYwu2CCFmDMsFs4QjfI7w9RPXFuPU5gvYF6No,8631
7
7
  nabu/utils.py,sha256=tJI64BNXMhD6W293fwwcgf9bvTalYG_5AwVGYkgi6tU,27179
@@ -256,7 +256,7 @@ nabu/reconstruction/tests/test_reconstructor.py,sha256=xzfEM0j48ScQoGqWVcAK74HG9
256
256
  nabu/reconstruction/tests/test_sino_normalization.py,sha256=qNnpVUp3UcFGyLlSP0rCzE5hxdV6YENL9AF6mo72WcQ,3669
257
257
  nabu/resources/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
258
258
  nabu/resources/cor.py,sha256=-mcrTbj3G7o4PP5E_gIRo2j6_-ADmMkkOc_0CyQv84c,170
259
- nabu/resources/dataset_analyzer.py,sha256=PfYov5UrEkfE3oMLZaVJEpEWQuR5gtxctkA1hPhcpK4,23980
259
+ nabu/resources/dataset_analyzer.py,sha256=WnY3GpNc5EfmYaCSgoCM2kguBkd3LC2BRa6U1vO6wfI,23982
260
260
  nabu/resources/gpu.py,sha256=oQA8PpPdyuIzpxq1PwVd9gJdyCiLIry2godUV1AbPW0,5769
261
261
  nabu/resources/logger.py,sha256=xV9UoLZBw3wXAWYfOgqrnOtzJc9aC1VNO4LM2cHxWJg,3738
262
262
  nabu/resources/nxflatfield.py,sha256=uPivKr4T5AYDGeyxoLns7UL6KYZt_2niNYuSsXrUMm8,12368
@@ -317,9 +317,9 @@ nabu/thirdparty/pore3d_deringer_munch.py,sha256=o4bisnFc-wMjuohWBT8wgWmfNehPQGtC
317
317
  nabu/thirdparty/tomocupy_remove_stripe.py,sha256=Khe4zFf0kRzu65Yxnvq58gt1ljOztqJGdMDhVAiM7lM,24363
318
318
  nabu/thirdparty/tomopy_phase.py,sha256=hK4oPpkogLOhv23XzzEXQY2u3r8fJvASY_bINVs6ERE,8634
319
319
  nabu/thirdparty/tomwer_load_flats_darks.py,sha256=ZNoVAinUb_wGYbfvs_4BVnWsjsQmNxSvCh1bWhR2WWg,5611
320
- nabu-2025.1.0rc3.dist-info/licenses/LICENSE,sha256=1eAIPSnEsnSFNUODnLtNtQTs76exG3ZxJ1DJR6zoUBA,1066
321
- nabu-2025.1.0rc3.dist-info/METADATA,sha256=YmXboCie2GZY8Om4wco2-8--nuhCJnhMq99FXIYKSfE,4274
322
- nabu-2025.1.0rc3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
323
- nabu-2025.1.0rc3.dist-info/entry_points.txt,sha256=YxzCY5CNQ1XHrIGbRKg-BgC1Jy7QaCITdITpyhhxpZU,1338
324
- nabu-2025.1.0rc3.dist-info/top_level.txt,sha256=fsm_N3eXLRZk2QXF9OSKPNDPFXOz8FAQjHh5avT3dok,9
325
- nabu-2025.1.0rc3.dist-info/RECORD,,
320
+ nabu-2025.1.0rc4.dist-info/licenses/LICENSE,sha256=1eAIPSnEsnSFNUODnLtNtQTs76exG3ZxJ1DJR6zoUBA,1066
321
+ nabu-2025.1.0rc4.dist-info/METADATA,sha256=slUqbhZszSSsAVQKimn12zEm4RmUfa0-_WupWgr_zpY,4274
322
+ nabu-2025.1.0rc4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
323
+ nabu-2025.1.0rc4.dist-info/entry_points.txt,sha256=YxzCY5CNQ1XHrIGbRKg-BgC1Jy7QaCITdITpyhhxpZU,1338
324
+ nabu-2025.1.0rc4.dist-info/top_level.txt,sha256=fsm_N3eXLRZk2QXF9OSKPNDPFXOz8FAQjHh5avT3dok,9
325
+ nabu-2025.1.0rc4.dist-info/RECORD,,