tomoscan 2.2.0.dev0__tar.gz → 2.2.2__tar.gz

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.
Files changed (150) hide show
  1. {tomoscan-2.2.0.dev0/tomoscan.egg-info → tomoscan-2.2.2}/PKG-INFO +30 -28
  2. tomoscan-2.2.2/doc/conf.py +360 -0
  3. tomoscan-2.2.2/pyproject.toml +108 -0
  4. tomoscan-2.2.2/setup.cfg +4 -0
  5. tomoscan-2.2.2/snippets/test_sinogram.py +171 -0
  6. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/esrf/__init__.py +2 -1
  7. tomoscan-2.2.2/tomoscan/esrf/identifier/tests/test_edfidentifier.py +45 -0
  8. tomoscan-2.2.2/tomoscan/esrf/identifier/tests/test_hdf5identifier.py +59 -0
  9. tomoscan-2.2.2/tomoscan/esrf/identifier/tests/test_rawidentifier.py +14 -0
  10. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/esrf/scan/edfscan.py +48 -17
  11. tomoscan-2.2.2/tomoscan/esrf/scan/fluoscan.py +382 -0
  12. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/esrf/scan/framereducer/edfframereducer.py +3 -3
  13. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/esrf/scan/framereducer/hdf5framereducer.py +9 -13
  14. tomoscan-2.2.2/tomoscan/esrf/scan/framereducer/tests/test_edfframereducer.py +258 -0
  15. tomoscan-2.2.2/tomoscan/esrf/scan/framereducer/tests/test_hdf5framereducer.py +293 -0
  16. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/esrf/scan/mock.py +18 -12
  17. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/esrf/scan/nxtomoscan.py +243 -74
  18. tomoscan-2.2.2/tomoscan/esrf/scan/tests/test_edfscan.py +931 -0
  19. tomoscan-2.2.2/tomoscan/esrf/scan/tests/test_fluoscan2D.py +66 -0
  20. tomoscan-2.2.2/tomoscan/esrf/scan/tests/test_fluoscan3D.py +63 -0
  21. tomoscan-2.2.2/tomoscan/esrf/scan/tests/test_fscan.py +42 -0
  22. tomoscan-2.2.2/tomoscan/esrf/scan/tests/test_mock.py +203 -0
  23. tomoscan-2.2.2/tomoscan/esrf/scan/tests/test_nxtomoscan.py +1175 -0
  24. tomoscan-2.2.2/tomoscan/esrf/scan/tests/test_utils.py +506 -0
  25. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/esrf/scan/utils.py +3 -3
  26. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/esrf/volume/hdf5volume.py +8 -4
  27. tomoscan-2.2.2/tomoscan/esrf/volume/helpers/test/test_single_frame_saver.py +63 -0
  28. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/esrf/volume/jp2kvolume.py +8 -11
  29. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/esrf/volume/mock.py +3 -3
  30. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/esrf/volume/rawvolume.py +9 -4
  31. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/esrf/volume/singleframebase.py +19 -1
  32. tomoscan-2.2.2/tomoscan/esrf/volume/tests/test_edfvolume.py +70 -0
  33. tomoscan-2.2.2/tomoscan/esrf/volume/tests/test_hdf5volume.py +431 -0
  34. tomoscan-2.2.2/tomoscan/esrf/volume/tests/test_jp2kvolume.py +41 -0
  35. tomoscan-2.2.2/tomoscan/esrf/volume/tests/test_raw_volume.py +308 -0
  36. tomoscan-2.2.2/tomoscan/esrf/volume/tests/test_single_frame_volume.py +561 -0
  37. tomoscan-2.2.2/tomoscan/esrf/volume/tests/test_tiffvolume.py +344 -0
  38. tomoscan-2.2.2/tomoscan/esrf/volume/tests/test_volume_esrf_utils.py +135 -0
  39. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/esrf/volume/tiffvolume.py +16 -2
  40. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/framereducer/framereducerbase.py +4 -4
  41. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/framereducer/method.py +2 -2
  42. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/framereducer/reducedframesinfos.py +35 -18
  43. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/framereducer/target.py +2 -2
  44. tomoscan-2.2.2/tomoscan/framereducer/tests/test_framereducerbase.py +13 -0
  45. tomoscan-2.2.2/tomoscan/normalization/calculationmode.py +6 -0
  46. tomoscan-2.2.2/tomoscan/normalization/datasetscope.py +6 -0
  47. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/normalization/method.py +2 -2
  48. tomoscan-2.2.2/tomoscan/normalization/methodmode.py +6 -0
  49. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/normalization/normalization.py +2 -2
  50. tomoscan-2.2.2/tomoscan/normalization/tests/test_normalization.py +169 -0
  51. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/scanbase.py +107 -44
  52. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/source.py +3 -3
  53. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/tests/test_drac_utils.py +13 -12
  54. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/tests/test_scanbase.py +3 -3
  55. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/tests/test_validator.py +14 -6
  56. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/tests/test_volume_base.py +3 -2
  57. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/tomoobject.py +7 -0
  58. tomoscan-2.2.2/tomoscan/utils/__init__.py +14 -0
  59. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/utils/drac/mapper.py +1 -2
  60. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/utils/drac/recons_vol_mapping.py +17 -35
  61. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/validator.py +5 -5
  62. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/version.py +3 -3
  63. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/volumebase.py +11 -6
  64. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2/tomoscan.egg-info}/PKG-INFO +30 -28
  65. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan.egg-info/SOURCES.txt +26 -9
  66. tomoscan-2.2.2/tomoscan.egg-info/entry_points.txt +2 -0
  67. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan.egg-info/requires.txt +26 -15
  68. tomoscan-2.2.2/tomoscan.egg-info/top_level.txt +6 -0
  69. tomoscan-2.2.0.dev0/setup.cfg +0 -76
  70. tomoscan-2.2.0.dev0/setup.py +0 -6
  71. tomoscan-2.2.0.dev0/tomoscan/esrf/scan/fluoscan.py +0 -240
  72. tomoscan-2.2.0.dev0/tomoscan/normalization/calculationmode.py +0 -6
  73. tomoscan-2.2.0.dev0/tomoscan/normalization/datasetscope.py +0 -6
  74. tomoscan-2.2.0.dev0/tomoscan/normalization/methodmode.py +0 -6
  75. tomoscan-2.2.0.dev0/tomoscan/unitsystem/__init__.py +0 -73
  76. tomoscan-2.2.0.dev0/tomoscan/unitsystem/electriccurrentsystem.py +0 -11
  77. tomoscan-2.2.0.dev0/tomoscan/unitsystem/energysystem.py +0 -11
  78. tomoscan-2.2.0.dev0/tomoscan/unitsystem/metricsystem.py +0 -11
  79. tomoscan-2.2.0.dev0/tomoscan/unitsystem/timesystem.py +0 -11
  80. tomoscan-2.2.0.dev0/tomoscan/unitsystem/unit.py +0 -11
  81. tomoscan-2.2.0.dev0/tomoscan/unitsystem/voltagesystem.py +0 -11
  82. tomoscan-2.2.0.dev0/tomoscan/utils/__init__.py +0 -4
  83. tomoscan-2.2.0.dev0/tomoscan.egg-info/top_level.txt +0 -1
  84. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/LICENSE +0 -0
  85. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/README.md +0 -0
  86. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/__init__.py +0 -0
  87. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/esrf/edfscan.py +0 -0
  88. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/esrf/hdf5scan.py +0 -0
  89. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/esrf/identifier/__init__.py +0 -0
  90. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/esrf/identifier/edfidentifier.py +0 -0
  91. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/esrf/identifier/folderidentifier.py +0 -0
  92. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/esrf/identifier/hdf5Identifier.py +0 -0
  93. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/esrf/identifier/jp2kidentifier.py +0 -0
  94. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/esrf/identifier/rawidentifier.py +0 -0
  95. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/esrf/identifier/tiffidentifier.py +0 -0
  96. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/esrf/identifier/url_utils.py +0 -0
  97. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/esrf/mock.py +0 -0
  98. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/esrf/scan/__init__.py +0 -0
  99. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/esrf/scan/framereducer/__init__.py +0 -0
  100. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/esrf/scan/fscan.py +0 -0
  101. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/esrf/scan/fscan_scantypes.py +0 -0
  102. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/esrf/scan/h5utils.py +0 -0
  103. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/esrf/scan/hdf5scan.py +0 -0
  104. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/esrf/utils.py +0 -0
  105. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/esrf/volume/__init__.py +0 -0
  106. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/esrf/volume/edfvolume.py +0 -0
  107. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/esrf/volume/helpers/__init__.py +0 -0
  108. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/esrf/volume/helpers/single_frame_saver.py +0 -0
  109. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/esrf/volume/utils.py +0 -0
  110. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/factory.py +0 -0
  111. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/framereducer/__init__.py +0 -0
  112. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/framereducerbase.py +0 -0
  113. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/identifier.py +0 -0
  114. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/io.py +0 -0
  115. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/nexus/__init__.py +0 -0
  116. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/nexus/paths/__init__.py +0 -0
  117. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/nexus/paths/nxdetector.py +0 -0
  118. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/nexus/paths/nxinstrument.py +0 -0
  119. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/nexus/paths/nxmonitor.py +0 -0
  120. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/nexus/paths/nxsample.py +0 -0
  121. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/nexus/paths/nxsource.py +0 -0
  122. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/nexus/paths/nxtomo.py +0 -0
  123. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/nexus/paths/nxtransformations.py +0 -0
  124. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/nexus/utils/__init__.py +0 -0
  125. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/normalization/__init__.py +0 -0
  126. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/progress.py +0 -0
  127. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/scanfactory.py +0 -0
  128. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/serie.py +0 -0
  129. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/series.py +0 -0
  130. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/test.py +0 -0
  131. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/tests/__init__.py +0 -0
  132. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/tests/conftest.py +0 -0
  133. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/tests/datasets.py +0 -0
  134. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/tests/test_factory.py +0 -0
  135. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/tests/test_hdf5_utils.py +0 -0
  136. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/tests/test_io.py +0 -0
  137. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/tests/test_progress.py +0 -0
  138. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/tests/test_serie.py +0 -0
  139. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/tests/test_tomoobject.py +0 -0
  140. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/tests/test_utils.py +0 -0
  141. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/tests/test_version.py +0 -0
  142. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/tests/test_volume_utils.py +0 -0
  143. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/tests/utils.py +0 -0
  144. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/utils/decorator.py +0 -0
  145. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/utils/drac/__init__.py +0 -0
  146. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/utils/geometry.py +0 -0
  147. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/utils/hdf5.py +0 -0
  148. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/utils/io.py +0 -0
  149. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan/utils/volume.py +0 -0
  150. {tomoscan-2.2.0.dev0 → tomoscan-2.2.2}/tomoscan.egg-info/dependency_links.txt +0 -0
@@ -1,62 +1,59 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: tomoscan
3
- Version: 2.2.0.dev0
4
- Summary: "utilitary to access tomography data at esrf"
5
- Home-page: https://gitlab.esrf.fr/tomotools/tomoscan
6
- Author: Henri Payno, Pierre Paleo, Pierre-Olivier Autran, Jérôme Lesaint, Alessandro Mirone
7
- Author-email: henri.payno@esrf.fr, pierre.paleo@esrf.fr, pierre-olivier.autran@esrf.fr, jerome.lesaint@esrf.fr, mirone@esrf.fr
3
+ Version: 2.2.2
4
+ Summary: Utility to access tomography data at ESRF
5
+ Author-email: Henri Payno <henri.payno@esrf.fr>, Pierre Paleo <pierre.paleo@esrf.fr>, Pierre-Olivier Autran <pierre-olivier.autran@esrf.fr>, Jérôme Lesaint <jerome.lesaint@esrf.fr>, Alessandro Mirone <mirone@esrf.fr>
8
6
  License: MIT
9
- Project-URL: Bug Tracker, https://gitlab.esrf.fr/tomotools/tomoscan/-/issues
7
+ Keywords: NXtomo,nexus,tomography,esrf,bliss-tomo
10
8
  Classifier: Intended Audience :: Education
11
9
  Classifier: Intended Audience :: Science/Research
12
- Classifier: License :: OSI Approved :: MIT License
13
10
  Classifier: Programming Language :: Python :: 3
11
+ Classifier: Programming Language :: Python :: 3.9
12
+ Classifier: Programming Language :: Python :: 3.10
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
14
15
  Classifier: Environment :: Console
15
16
  Classifier: Environment :: X11 Applications :: Qt
16
17
  Classifier: Operating System :: POSIX
17
18
  Classifier: Natural Language :: English
18
19
  Classifier: Topic :: Scientific/Engineering :: Physics
19
20
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
20
- Requires-Python: >=3.6
21
+ Requires-Python: >=3.9
21
22
  Description-Content-Type: text/markdown
22
23
  License-File: LICENSE
23
24
  Requires-Dist: setuptools
25
+ Requires-Dist: defusedxml
24
26
  Requires-Dist: h5py>=3.0
27
+ Requires-Dist: hdf5plugin
28
+ Requires-Dist: blosc2-grok
25
29
  Requires-Dist: silx>=2.0
26
30
  Requires-Dist: lxml
27
31
  Requires-Dist: dicttoxml
28
32
  Requires-Dist: packaging
29
33
  Requires-Dist: psutil
30
- Requires-Dist: nxtomo>=1.3.0dev8
31
- Requires-Dist: pyunitsystem>=2.0.0a
32
- Requires-Dist: numpy<2.0
34
+ Requires-Dist: nxtomo>=2.0.0dev0
35
+ Requires-Dist: numpy
33
36
  Requires-Dist: packaging>=22.0
37
+ Requires-Dist: pint
34
38
  Provides-Extra: full
35
- Requires-Dist: glymur; extra == "full"
36
- Requires-Dist: imageio; extra == "full"
39
+ Requires-Dist: glymur<0.14; python_version <= "3.9" and extra == "full"
40
+ Requires-Dist: glymur; python_version > "3.9" and extra == "full"
37
41
  Requires-Dist: tqdm; extra == "full"
38
42
  Requires-Dist: tifffile[zarr]>=2023.7.4; python_version >= "3.10" and extra == "full"
39
43
  Requires-Dist: tifffile; python_version < "3.10" and extra == "full"
40
44
  Requires-Dist: zarr; python_version < "3.10" and extra == "full"
41
45
  Requires-Dist: fsspec; python_version < "3.10" and extra == "full"
42
46
  Provides-Extra: test
43
- Requires-Dist: glymur; extra == "test"
44
- Requires-Dist: imageio; extra == "test"
47
+ Requires-Dist: pytest; extra == "test"
48
+ Requires-Dist: python-gitlab; extra == "test"
49
+ Requires-Dist: glymur<0.14; python_version <= "3.9" and extra == "test"
50
+ Requires-Dist: glymur; python_version > "3.9" and extra == "test"
45
51
  Requires-Dist: tqdm; extra == "test"
46
52
  Requires-Dist: tifffile[zarr]>=2023.7.4; python_version >= "3.10" and extra == "test"
47
53
  Requires-Dist: tifffile; python_version < "3.10" and extra == "test"
48
54
  Requires-Dist: zarr; python_version < "3.10" and extra == "test"
49
55
  Requires-Dist: fsspec; python_version < "3.10" and extra == "test"
50
- Requires-Dist: pytest; extra == "test"
51
- Requires-Dist: python-gitlab; extra == "test"
52
56
  Provides-Extra: doc
53
- Requires-Dist: glymur; extra == "doc"
54
- Requires-Dist: imageio; extra == "doc"
55
- Requires-Dist: tqdm; extra == "doc"
56
- Requires-Dist: tifffile[zarr]>=2023.7.4; python_version >= "3.10" and extra == "doc"
57
- Requires-Dist: tifffile; python_version < "3.10" and extra == "doc"
58
- Requires-Dist: zarr; python_version < "3.10" and extra == "doc"
59
- Requires-Dist: fsspec; python_version < "3.10" and extra == "doc"
60
57
  Requires-Dist: Sphinx<5.2.0,>=4.0.0; extra == "doc"
61
58
  Requires-Dist: nbsphinx; extra == "doc"
62
59
  Requires-Dist: pandoc; extra == "doc"
@@ -67,9 +64,14 @@ Requires-Dist: h5glance; extra == "doc"
67
64
  Requires-Dist: pydata_sphinx_theme; extra == "doc"
68
65
  Requires-Dist: sphinx-design; extra == "doc"
69
66
  Requires-Dist: sphinx-autodoc-typehints; extra == "doc"
70
- Provides-Extra: setup-requires
71
- Requires-Dist: setuptools; extra == "setup-requires"
72
- Requires-Dist: numpy; extra == "setup-requires"
67
+ Requires-Dist: glymur<0.14; python_version <= "3.9" and extra == "doc"
68
+ Requires-Dist: glymur; python_version > "3.9" and extra == "doc"
69
+ Requires-Dist: tqdm; extra == "doc"
70
+ Requires-Dist: tifffile[zarr]>=2023.7.4; python_version >= "3.10" and extra == "doc"
71
+ Requires-Dist: tifffile; python_version < "3.10" and extra == "doc"
72
+ Requires-Dist: zarr; python_version < "3.10" and extra == "doc"
73
+ Requires-Dist: fsspec; python_version < "3.10" and extra == "doc"
74
+ Dynamic: license-file
73
75
 
74
76
  # tomoscan
75
77
 
@@ -0,0 +1,360 @@
1
+ #!/usr/bin/env python3
2
+ # -*- coding: utf-8 -*-
3
+ #
4
+ # Orange3 Example Add-on documentation build configuration file, created by
5
+ # sphinx-quickstart on Fri Aug 21 11:28:31 2015.
6
+ #
7
+ # This file is execfile()d with the current directory set to its
8
+ # containing dir.
9
+ #
10
+ # Note that not all possible configuration values are present in this
11
+ # autogenerated file.
12
+ #
13
+ # All configuration values have a default; values that are commented out
14
+ # serve to show the default.
15
+
16
+
17
+ # If extensions (or modules to document with autodoc) are in another directory,
18
+ # add these directories to sys.path here. If the directory is relative to the
19
+ # documentation root, use os.path.abspath to make it absolute, like shown here.
20
+ # sys.path.insert(0, os.path.abspath('.'))
21
+ project = "tomoscan"
22
+
23
+
24
+ # If extensions (or modules to document with autodoc) are in another directory,
25
+ # add these directories to sys.path here. If the directory is relative to the
26
+ # documentation root, use os.path.abspath to make it absolute, like shown here.
27
+ # sys.path.insert(0, os.path.abspath('.'))
28
+
29
+ # -- General configuration ------------------------------------------------
30
+
31
+ # If your documentation needs a minimal Sphinx version, state it here.
32
+ # needs_sphinx = '1.0'
33
+
34
+ # Add any Sphinx extension modules names here, as strings. They can be
35
+ # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
36
+ # ones.
37
+ extensions = [
38
+ "sphinx.ext.autodoc",
39
+ "sphinx.ext.intersphinx",
40
+ "sphinx.ext.autosummary",
41
+ "sphinx_design",
42
+ "nbsphinx",
43
+ "sphinx_autodoc_typehints",
44
+ ]
45
+
46
+ # Add any paths that contain templates here, relative to this directory.
47
+ templates_path = ["_templates"]
48
+
49
+ # The suffix(es) of source filenames.
50
+ # You can specify multiple suffix as a list of string:
51
+ source_suffix = [".rst", ".md"]
52
+
53
+ # The encoding of source files.
54
+ # source_encoding = 'utf-8-sig'
55
+
56
+ # The master toctree document.
57
+ master_doc = "index"
58
+
59
+ # General information about the project.
60
+ project = "tomoscan"
61
+ copyright = "2016-2023, ESRF"
62
+ author = "ESRF"
63
+
64
+ # The version info for the project you're documenting, acts as replacement for
65
+ # |version| and |release|, also used in various other places throughout the
66
+ # built documents.
67
+ #
68
+ # The short X.Y version.
69
+ version = "2.2"
70
+ # The full version, including alpha/beta/rc tags.
71
+ release = "2.2"
72
+
73
+ # The language for content autogenerated by Sphinx. Refer to documentation
74
+ # for a list of supported languages.
75
+ #
76
+ # This is also used if you do content translation via gettext catalogs.
77
+ # Usually you set "language" from the command line for these cases.
78
+ language = "en"
79
+
80
+ # There are two options for replacing |today|: either, you set today to some
81
+ # non-false value, then it is used:
82
+ # today = ''
83
+ # Else, today_fmt is used as the format for a strftime call.
84
+ # today_fmt = '%B %d, %Y'
85
+
86
+ # List of patterns, relative to source directory, that match files and
87
+ # directories to ignore when looking for source files.
88
+ exclude_patterns = [
89
+ "build",
90
+ "**.ipynb_checkpoints",
91
+ "*intensity_norm.ipynb",
92
+ "*tutorials/intensity_norm*",
93
+ ]
94
+
95
+ # The reST default role (used for this markup: `text`) to use for all
96
+ # documents.
97
+ # default_role = None
98
+
99
+ # If true, '()' will be appended to :func: etc. cross-reference text.
100
+ # add_function_parentheses = True
101
+
102
+ # If true, the current modules name will be prepended to all description
103
+ # unit titles (such as .. function::).
104
+ # add_module_names = True
105
+
106
+ # If true, sectionauthor and moduleauthor directives will be shown in the
107
+ # output. They are ignored by default.
108
+ # show_authors = False
109
+
110
+ # The name of the Pygments (syntax highlighting) style to use.
111
+ pygments_style = "sphinx"
112
+
113
+ # A list of ignored prefixes for modules index sorting.
114
+ # modindex_common_prefix = []
115
+
116
+ # If true, keep warnings as "system message" paragraphs in the built documents.
117
+ # keep_warnings = False
118
+
119
+ # If true, `todo` and `todoList` produce output, else they produce nothing.
120
+ todo_include_todos = False
121
+
122
+
123
+ # -- Options for HTML output ----------------------------------------------
124
+
125
+ # The theme to use for HTML and HTML Help pages. See the documentation for
126
+ # a list of builtin themes.
127
+ html_theme = "pydata_sphinx_theme"
128
+
129
+ # Theme options are theme-specific and customize the look and feel of a theme
130
+ # further. For a list of options available for each theme, see the
131
+ # documentation.
132
+ # html_theme_options = {}
133
+
134
+ # Add any paths that contain custom themes here, relative to this directory.
135
+ # html_theme_path = []
136
+
137
+ # The name for this set of Sphinx documents. If None, it defaults to
138
+ # "<project> v<release> documentation".
139
+ # html_title = None
140
+
141
+ # A shorter title for the navigation bar. Default is the same as html_title.
142
+ # html_short_title = None
143
+
144
+ # The name of an image file (relative to this directory) to place at the top
145
+ # of the sidebar.
146
+ html_logo = "img/tomoscan.png"
147
+
148
+ # The name of an image file (within the static path) to use as favicon of the
149
+ # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
150
+ # pixels large.
151
+ # html_favicon = None
152
+
153
+ # Add any paths that contain custom static files (such as style sheets) here,
154
+ # relative to this directory. They are copied after the builtin static files,
155
+ # so a file named "default.css" will overwrite the builtin "default.css".
156
+ html_static_path = ["_static"]
157
+
158
+ # Add any extra paths that contain custom files (such as robots.txt or
159
+ # .htaccess) here, relative to this directory. These files are copied
160
+ # directly to the root of the documentation.
161
+ # html_extra_path = []
162
+
163
+ # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
164
+ # using the given strftime format.
165
+ # html_last_updated_fmt = '%b %d, %Y'
166
+
167
+ # If true, SmartyPants will be used to convert quotes and dashes to
168
+ # typographically correct entities.
169
+ # html_use_smartypants = True
170
+
171
+ # Custom sidebar templates, maps document names to template names.
172
+ # html_sidebars = {}
173
+
174
+ # Additional templates that should be rendered to pages, maps page names to
175
+ # template names.
176
+ # html_additional_pages = {}
177
+
178
+ # If false, no modules index is generated.
179
+ # html_domain_indices = True
180
+
181
+ # If false, no index is generated.
182
+ # html_use_index = True
183
+
184
+ # If true, the index is split into individual pages for each letter.
185
+ # html_split_index = False
186
+
187
+ # If true, links to the reST sources are added to the pages.
188
+ # html_show_sourcelink = True
189
+
190
+ # If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
191
+ # html_show_sphinx = True
192
+
193
+ # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
194
+ # html_show_copyright = True
195
+
196
+ # If true, an OpenSearch description file will be output, and all pages will
197
+ # contain a <link> tag referring to it. The value of this option must be the
198
+ # base URL from which the finished HTML is served.
199
+ # html_use_opensearch = ''
200
+
201
+ # This is the file name suffix for HTML files (e.g. ".xhtml").
202
+ # html_file_suffix = None
203
+
204
+ # Language to be used for generating the HTML full-text search index.
205
+ # Sphinx supports the following languages:
206
+ # 'da', 'de', 'en', 'es', 'fi', 'fr', 'h', 'it', 'ja'
207
+ # 'nl', 'no', 'pt', 'ro', 'r', 'sv', 'tr'
208
+ # html_search_language = 'en'
209
+
210
+ # A dictionary with options for the search language support, empty by default.
211
+ # Now only 'ja' uses this config value
212
+ # html_search_options = {'type': 'default'}
213
+
214
+ # The name of a javascript file (relative to the configuration directory) that
215
+ # implements a search results scorer. If empty, the default will be used.
216
+ # html_search_scorer = 'scorer.js'
217
+
218
+ # Output file base name for HTML help builder.
219
+ htmlhelp_basename = "tomoscan"
220
+
221
+ # -- Options for LaTeX output ---------------------------------------------
222
+
223
+ latex_elements = {
224
+ # The paper size ('letterpaper' or 'a4paper').
225
+ #'papersize': 'letterpaper',
226
+ # The font size ('10pt', '11pt' or '12pt').
227
+ #'pointsize': '10pt',
228
+ # Additional stuff for the LaTeX preamble.
229
+ #'preamble': '',
230
+ # Latex figure (float) alignment
231
+ #'figure_align': 'htbp',
232
+ }
233
+
234
+ # Grouping the document tree into LaTeX files. List of tuples
235
+ # (source start file, target name, title,
236
+ # author, documentclass [howto, manual, or own class]).
237
+ # latex_documents = [
238
+ # (master_doc, 'Orange3ESRFAdd-on.tex', 'Orange3 ESRF Add-on Documentation',
239
+ # 'Biolab', 'manual'),
240
+ # ]
241
+
242
+ # The name of an image file (relative to this directory) to place at the top of
243
+ # the title page.
244
+ # latex_logo = None
245
+
246
+ # For "manual" documents, if this is true, then toplevel headings are parts,
247
+ # not chapters.
248
+ # latex_use_parts = False
249
+
250
+ # If true, show page references after internal links.
251
+ # latex_show_pagerefs = False
252
+
253
+ # If true, show URL addresses after external links.
254
+ # latex_show_urls = False
255
+
256
+ # Documents to append as an appendix to all manuals.
257
+ # latex_appendices = []
258
+
259
+ # If false, no modules index is generated.
260
+ # latex_domain_indices = True
261
+
262
+
263
+ # -- Options for manual page output ---------------------------------------
264
+
265
+ # One entry per manual page. List of tuples
266
+ # (source start file, name, description, authors, manual section).
267
+ man_pages = [(master_doc, "tomoscan", "tomoscan documentation", [author], 1)]
268
+
269
+ htmlhelp_pages = [(master_doc, "tomoscan", "tomoscan documentation", [author], 1)]
270
+
271
+ # If true, show URL addresses after external links.
272
+ # man_show_urls = False
273
+
274
+
275
+ # -- Options for Texinfo output -------------------------------------------
276
+
277
+ # Grouping the document tree into Texinfo files. List of tuples
278
+ # (source start file, target name, title, author,
279
+ # dir menu entry, description, category)
280
+ texinfo_documents = [
281
+ (
282
+ master_doc,
283
+ "tomoscan",
284
+ "tomoscan Documentation",
285
+ author,
286
+ "tomoscan",
287
+ "utils for getting core information from scan",
288
+ "Miscellaneous",
289
+ ),
290
+ ]
291
+
292
+ # Documents to append as an appendix to all manuals.
293
+ # texinfo_appendices = []
294
+
295
+ # If false, no modules index is generated.
296
+ # texinfo_domain_indices = True
297
+
298
+ # How to display URL addresses: 'footnote', 'no', or 'inline'.
299
+ # texinfo_show_urls = 'footnote'
300
+
301
+ # If true, do not generate a @detailmenu in the "Top" node's menu.
302
+ # texinfo_no_detailmenu = False
303
+
304
+ nbsphinx_timeout = 60
305
+ nbsphinx_allow_errors = True
306
+
307
+
308
+ autosummary_generate = True
309
+
310
+ autodoc_default_flags = [
311
+ "members",
312
+ "undoc-members",
313
+ "show-inheritance",
314
+ ]
315
+
316
+
317
+ html_theme_options = {
318
+ "icon_links": [
319
+ {
320
+ "name": "pypi",
321
+ "url": "https://pypi.org/project/tomoscan",
322
+ "icon": "_static/navbar_icons/pypi.svg",
323
+ "type": "local",
324
+ },
325
+ {
326
+ "name": "gitlab",
327
+ "url": "https://gitlab.esrf.fr/tomotools/tomoscan",
328
+ "icon": "_static/navbar_icons/gitlab.svg",
329
+ "type": "local",
330
+ },
331
+ ],
332
+ "show_toc_level": 1,
333
+ "navbar_align": "left",
334
+ "show_version_warning_banner": True,
335
+ "navbar_start": ["navbar-logo", "version"],
336
+ "navbar_center": ["navbar-nav"],
337
+ "footer_start": ["copyright"],
338
+ "footer_center": ["sphinx-version"],
339
+ }
340
+
341
+ html_sidebars = {
342
+ "community/index": [
343
+ "sidebar-nav-bs",
344
+ "custom-template",
345
+ ], # This ensures we test for custom sidebars
346
+ "examples/no-sidebar": [], # Test what page looks like with no sidebar items
347
+ "examples/persistent-search-field": ["search-field"],
348
+ # Blog sidebars
349
+ # ref: https://ablog.readthedocs.io/manual/ablog-configuration-options/#blog-sidebars
350
+ "examples/blog/*": [
351
+ "ablog/postcard.html",
352
+ "ablog/recentposts.html",
353
+ "ablog/tagcloud.html",
354
+ "ablog/categories.html",
355
+ "ablog/authors.html",
356
+ "ablog/languages.html",
357
+ "ablog/locations.html",
358
+ "ablog/archives.html",
359
+ ],
360
+ }
@@ -0,0 +1,108 @@
1
+ [project]
2
+ name = "tomoscan"
3
+ dynamic = ["version"]
4
+ authors = [
5
+ { name = "Henri Payno", email = "henri.payno@esrf.fr" },
6
+ { name = "Pierre Paleo", email = "pierre.paleo@esrf.fr" },
7
+ { name = "Pierre-Olivier Autran", email = "pierre-olivier.autran@esrf.fr" },
8
+ { name = "Jérôme Lesaint", email = "jerome.lesaint@esrf.fr" },
9
+ { name = "Alessandro Mirone", email = "mirone@esrf.fr" }
10
+ ]
11
+ description = "Utility to access tomography data at ESRF"
12
+ readme = { file = "README.md", content-type = "text/markdown" }
13
+ license = { text = "MIT" }
14
+ requires-python = ">=3.9"
15
+ keywords = ["NXtomo", "nexus", "tomography", "esrf", "bliss-tomo"]
16
+ classifiers = [
17
+ "Intended Audience :: Education",
18
+ "Intended Audience :: Science/Research",
19
+ "Programming Language :: Python :: 3",
20
+ "Programming Language :: Python :: 3.9",
21
+ "Programming Language :: Python :: 3.10",
22
+ "Programming Language :: Python :: 3.11",
23
+ "Programming Language :: Python :: 3.12",
24
+ "Environment :: Console",
25
+ "Environment :: X11 Applications :: Qt",
26
+ "Operating System :: POSIX",
27
+ "Natural Language :: English",
28
+ "Topic :: Scientific/Engineering :: Physics",
29
+ "Topic :: Software Development :: Libraries :: Python Modules"
30
+ ]
31
+
32
+ dependencies = [
33
+ "setuptools",
34
+ "defusedxml",
35
+ "h5py>=3.0",
36
+ "hdf5plugin",
37
+ "blosc2-grok",
38
+ "silx>=2.0",
39
+ "lxml",
40
+ "dicttoxml",
41
+ "packaging",
42
+ "psutil",
43
+ "nxtomo>=2.0.0dev0",
44
+ "numpy",
45
+ "packaging>=22.0",
46
+ "pint",
47
+ ]
48
+
49
+ [project.optional-dependencies]
50
+ full = [
51
+ "glymur<0.14 ; python_version <= '3.9'",
52
+ "glymur ; python_version > '3.9'",
53
+ "tqdm",
54
+ "tifffile[zarr]>=2023.7.4; python_version >= '3.10'",
55
+ "tifffile; python_version < '3.10'",
56
+ "zarr; python_version < '3.10'",
57
+ "fsspec; python_version < '3.10'"
58
+ ]
59
+ test = [
60
+ "pytest",
61
+ "python-gitlab",
62
+ "glymur<0.14 ; python_version <= '3.9'",
63
+ "glymur ; python_version > '3.9'",
64
+ "tqdm",
65
+ "tifffile[zarr]>=2023.7.4; python_version >= '3.10'",
66
+ "tifffile; python_version < '3.10'",
67
+ "zarr; python_version < '3.10'",
68
+ "fsspec; python_version < '3.10'"
69
+ ]
70
+ doc = [
71
+ "Sphinx>=4.0.0, <5.2.0",
72
+ "nbsphinx",
73
+ "pandoc",
74
+ "ipykernel",
75
+ "jupyter_client",
76
+ "nbconvert",
77
+ "h5glance",
78
+ "pydata_sphinx_theme",
79
+ "sphinx-design",
80
+ "sphinx-autodoc-typehints",
81
+ "glymur<0.14 ; python_version <= '3.9'",
82
+ "glymur ; python_version > '3.9'",
83
+ "tqdm",
84
+ "tifffile[zarr]>=2023.7.4; python_version >= '3.10'",
85
+ "tifffile; python_version < '3.10'",
86
+ "zarr; python_version < '3.10'",
87
+ "fsspec; python_version < '3.10'"
88
+ ]
89
+
90
+ [build-system]
91
+ requires = [
92
+ "setuptools>=61.0",
93
+ "wheel",
94
+ "numpy"
95
+ ]
96
+ build-backend = "setuptools.build_meta"
97
+
98
+ [tool.sphinx]
99
+ source-dir = "./doc"
100
+
101
+ [project.scripts]
102
+ tomoscan = "tomoscan.__main__:main"
103
+
104
+ [tool.setuptools.dynamic]
105
+ version = { attr = "tomoscan.__version__" }
106
+
107
+ [tool.setuptools.packages.find]
108
+ where = ["."]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+