aprict 0.0.33__tar.gz → 0.0.34.dev8__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 (164) hide show
  1. {aprict-0.0.33/src/aprict.egg-info → aprict-0.0.34.dev8}/PKG-INFO +9 -5
  2. {aprict-0.0.33 → aprict-0.0.34.dev8}/README.md +8 -4
  3. aprict-0.0.34.dev8/src/aprict/__init__.py +146 -0
  4. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/scripts/project_cbfp.py +5 -0
  5. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/version.py +1 -1
  6. {aprict-0.0.33 → aprict-0.0.34.dev8/src/aprict.egg-info}/PKG-INFO +9 -5
  7. aprict-0.0.33/src/aprict/__init__.py +0 -92
  8. {aprict-0.0.33 → aprict-0.0.34.dev8}/LICENSE.txt +0 -0
  9. {aprict-0.0.33 → aprict-0.0.34.dev8}/LICENSE_GPLv3.txt +0 -0
  10. {aprict-0.0.33 → aprict-0.0.34.dev8}/MANIFEST.in +0 -0
  11. {aprict-0.0.33 → aprict-0.0.34.dev8}/pyproject.toml +0 -0
  12. {aprict-0.0.33 → aprict-0.0.34.dev8}/setup.cfg +0 -0
  13. {aprict-0.0.33 → aprict-0.0.34.dev8}/setup.py +0 -0
  14. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/cb/__init__.py +0 -0
  15. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/cb/_unused_old_fbp.py +0 -0
  16. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/cb/flatpanel.py +0 -0
  17. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/cb/noop_filter.py +0 -0
  18. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/cb/ramp_filter.py +0 -0
  19. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/cb/ramp_filter_cpu.py +0 -0
  20. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/cuda/__init__.py +0 -0
  21. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/cuda/_generate_cusrc.py +0 -0
  22. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/cuda/dtype_cacher.py +0 -0
  23. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/cuda/header_injection.py +0 -0
  24. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/cuda/kern_structs.py +0 -0
  25. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/cuda/ptx_cacher.py +0 -0
  26. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/cuda/structs/FORBILD_volumes.py +0 -0
  27. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/cuda/structs/__init__.py +0 -0
  28. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/cuda/structs/base.py +0 -0
  29. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/cuda/structs/config_cb_backproject.py +0 -0
  30. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/cuda/structs/config_cb_project.py +0 -0
  31. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/cuda/structs/config_cb_project_FORBILD.py +0 -0
  32. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/cuda/structs/cu/FORBILD_Box.cu +0 -0
  33. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/cuda/structs/cu/FORBILD_ClipAxisSpec.cu +0 -0
  34. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/cuda/structs/cu/FORBILD_Cone.cu +0 -0
  35. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/cuda/structs/cu/FORBILD_Cone_x.cu +0 -0
  36. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/cuda/structs/cu/FORBILD_Cone_y.cu +0 -0
  37. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/cuda/structs/cu/FORBILD_Cone_z.cu +0 -0
  38. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/cuda/structs/cu/FORBILD_Cylinder.cu +0 -0
  39. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/cuda/structs/cu/FORBILD_Cylinder_x.cu +0 -0
  40. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/cuda/structs/cu/FORBILD_Cylinder_y.cu +0 -0
  41. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/cuda/structs/cu/FORBILD_Cylinder_z.cu +0 -0
  42. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/cuda/structs/cu/FORBILD_Ellipsoid.cu +0 -0
  43. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/cuda/structs/cu/FORBILD_Ellipsoid_free.cu +0 -0
  44. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/cuda/structs/cu/FORBILD_Ellipt_Cyl.cu +0 -0
  45. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/cuda/structs/cu/FORBILD_Ellipt_Cyl_x.cu +0 -0
  46. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/cuda/structs/cu/FORBILD_Ellipt_Cyl_y.cu +0 -0
  47. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/cuda/structs/cu/FORBILD_Ellipt_Cyl_z.cu +0 -0
  48. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/cuda/structs/cu/FORBILD_Shape.cu +0 -0
  49. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/cuda/structs/cu/FORBILD_Sphere.cu +0 -0
  50. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/cuda/structs/cu/__init__.py +0 -0
  51. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/cuda/structs/geometry.py +0 -0
  52. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/cuda/structs/test_subdir/__init__.py +0 -0
  53. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/cuda/structs/test_subdir/test_config.py +0 -0
  54. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/data/.gitignore +0 -0
  55. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/data/FORBILD/abdomen/AbdomenPhantom.pha +0 -0
  56. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/data/FORBILD/abdomen/AbdomenPhantom_fixed.pha +0 -0
  57. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/data/FORBILD/abdomen/TableOfTissues +0 -0
  58. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/data/FORBILD/abdomen/Wirbel.pha +0 -0
  59. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/data/FORBILD/custom_composite/Ribs.pha +0 -0
  60. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/data/FORBILD/custom_composite/Shoulders.pha +0 -0
  61. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/data/FORBILD/custom_composite/TableOfTissues +0 -0
  62. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/data/FORBILD/custom_composite/Vertebra.pha +0 -0
  63. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/data/FORBILD/custom_composite/part_01_hip.pha +0 -0
  64. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/data/FORBILD/custom_composite/part_02_abdomen.pha +0 -0
  65. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/data/FORBILD/custom_composite/part_03_thorax.pha +0 -0
  66. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/data/FORBILD/custom_composite/part_04_head.pha +0 -0
  67. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/data/FORBILD/custom_composite/part_05_jaw.pha +0 -0
  68. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/data/FORBILD/custom_other/rock_canister_01.pha +0 -0
  69. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/data/FORBILD/custom_other/rock_canister_01_cavities_1e5.pha +0 -0
  70. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/data/FORBILD/custom_other/unit_Cyl_z.pha +0 -0
  71. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/data/FORBILD/head/HeadPhantom.pha +0 -0
  72. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/data/FORBILD/head/TableOfTissues +0 -0
  73. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/data/FORBILD/hip/HipPhantom.pha +0 -0
  74. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/data/FORBILD/jaw/JawPhantom.pha +0 -0
  75. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/data/FORBILD/lungs/LungPhantom3Generations.pha +0 -0
  76. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/data/FORBILD/thorax/Ribs.pha +0 -0
  77. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/data/FORBILD/thorax/Shoulders.pha +0 -0
  78. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/data/FORBILD/thorax/TableOfTissues +0 -0
  79. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/data/FORBILD/thorax/ThoraxPhantom.pha +0 -0
  80. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/data/FORBILD/thorax/Vertebra.pha +0 -0
  81. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/data/README.txt +0 -0
  82. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/data/cusrc/CB_backproject.cu +0 -0
  83. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/data/cusrc/CB_backproject_sharedmem.cu +0 -0
  84. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/data/cusrc/CB_project_sharedmem.cu +0 -0
  85. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/data/cusrc/CB_project_texture_chunked.cu +0 -0
  86. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/data/cusrc/FORBILD_volumes.h +0 -0
  87. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/data/cusrc/base.h +0 -0
  88. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/data/cusrc/config_cb_backproject.h +0 -0
  89. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/data/cusrc/config_cb_project.h +0 -0
  90. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/data/cusrc/config_cb_project_FORBILD.h +0 -0
  91. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/data/cusrc/geometry.h +0 -0
  92. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/data/cusrc/get_bboxes_FORBILD.cu +0 -0
  93. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/data/cusrc/ramlak_convolve.cu +0 -0
  94. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/data/cusrc/sample_FORBILD_volumes.cu +0 -0
  95. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/data/cusrc/test_kernel.cu +0 -0
  96. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/data/cusrc/test_subdir/test_config.h +0 -0
  97. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/data/cusrc/texture_operations.cu +0 -0
  98. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/examples/__init__.py +0 -0
  99. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/examples/composite_human_sirt.py +0 -0
  100. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/examples/fan_beam_sirt.py +0 -0
  101. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/examples/helical_sirt.py +0 -0
  102. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/examples/lungs_sirt.py +0 -0
  103. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/examples/trajtest_A_sirt.py +0 -0
  104. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/examples/triangle_exp_fb.py +0 -0
  105. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/gbc/__init__.py +0 -0
  106. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/gbc/filters.py +0 -0
  107. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/gbc/weightinteg.py +0 -0
  108. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/image_view.py +0 -0
  109. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/iterators/__init__.py +0 -0
  110. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/iterators/landweber_vram.py +0 -0
  111. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/iterators/sirt_vram.py +0 -0
  112. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/lib/__init__.py +0 -0
  113. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/lib/argparse_tools.py +0 -0
  114. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/lib/bboxes_FORBILD.py +0 -0
  115. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/lib/click_tools.py +0 -0
  116. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/lib/empty_context_manager.py +0 -0
  117. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/lib/gpu_tools.py +0 -0
  118. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/lib/import_tools.py +0 -0
  119. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/lib/lds.py +0 -0
  120. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/lib/ne_tools.py +0 -0
  121. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/lib/ng_tools.py +0 -0
  122. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/lib/np_tools.py +0 -0
  123. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/lib/ome_zarr_tools.py +0 -0
  124. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/lib/process_pha_file.py +0 -0
  125. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/lib/sample_FORBILD.py +0 -0
  126. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/lib/texture_tools/__init__.py +0 -0
  127. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/lib/texture_tools/operations.py +0 -0
  128. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/lib/texture_tools/texture.py +0 -0
  129. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/liveplot.py +0 -0
  130. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/logtools/__init__.py +0 -0
  131. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/logtools/config.py +0 -0
  132. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/logtools/pbar.py +0 -0
  133. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/logtools/pbar_tqdm.py +0 -0
  134. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/logtools/rich_custombar.py +0 -0
  135. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/phantoms/FORBILD_phantoms.py +0 -0
  136. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/phantoms/__init__.py +0 -0
  137. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/ramp_kernels.py +0 -0
  138. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/scripts/__init__.py +0 -0
  139. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/scripts/cli.py +0 -0
  140. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/scripts/convert_npy_to_omezarr.py +0 -0
  141. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/scripts/convert_omezarr_to_npy.py +0 -0
  142. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/scripts/make_geometry_cone_cyl.py +0 -0
  143. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/scripts/make_geometry_fan_circ.py +0 -0
  144. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/scripts/neuroglance.py +0 -0
  145. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/scripts/recon_cbfp_cyl_fbp.py +0 -0
  146. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/scripts/recon_cbfp_cyl_gbc.py +0 -0
  147. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/scripts/recon_cbfp_landweber.py +0 -0
  148. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/tests/__init__.py +0 -0
  149. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/tests/cuda_kernels/__init__.py +0 -0
  150. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/tests/cuda_kernels/test_backproject_cb.py +0 -0
  151. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/tests/cuda_kernels/test_cusrc/__init__.py +0 -0
  152. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/tests/cuda_kernels/test_kernel_structs.py +0 -0
  153. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/tests/cuda_kernels/test_project_cb.py +0 -0
  154. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/tests/cuda_kernels/test_project_cb_FORBILD_phantoms.py +0 -0
  155. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/tests/cuda_kernels/test_project_cb_FORBILD_shapes.py +0 -0
  156. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/tests/test_FORBILD_lungs_construction.py +0 -0
  157. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/tests/test_volume.py +0 -0
  158. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/volume/__init__.py +0 -0
  159. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict/volume/volume.py +0 -0
  160. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict.egg-info/SOURCES.txt +0 -0
  161. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict.egg-info/dependency_links.txt +0 -0
  162. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict.egg-info/entry_points.txt +0 -0
  163. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict.egg-info/requires.txt +0 -0
  164. {aprict-0.0.33 → aprict-0.0.34.dev8}/src/aprict.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aprict
3
- Version: 0.0.33
3
+ Version: 0.0.34.dev8
4
4
  Summary: Tools to simulate and reconstruct XCT transmission data.
5
5
  Author: Murdock Grewar
6
6
  Author-email: Murdock Grewar <murdock.grewar@anu.edu.au>
@@ -39,10 +39,14 @@ Requires-Dist: neuroglancer>=2.41.0; extra == "gui"
39
39
  Dynamic: author
40
40
  Dynamic: license-file
41
41
 
42
- [![Static Badge](https://img.shields.io/badge/ORCiD-0000--0002--0015--8284-green?logo=orcid)](https://orcid.org/0000-0002-0015-8284)
43
- [![Static Badge](https://img.shields.io/badge/DOI-10.5281%2Fzenodo.23632625-blue?logo=DOI&color=blue)](https://doi.org/10.5281/zenodo.23632625)
44
- ![PyPI Version](https://img.shields.io/pypi/v/aprict)
42
+ ![project logo](https://raw.githubusercontent.com/murdock-grewar/aprict/refs/heads/release/img/logo_horz_big.svg)
43
+
44
+ [![Static Badge](https://img.shields.io/badge/Author_ORCiD-0000--0002--0015--8284-green?logo=orcid)](https://orcid.org/0000-0002-0015-8284)
45
+ [![Static Badge](https://img.shields.io/badge/Project_DOI-10.5281%2Fzenodo.23632625-yellow?logo=DOI&color=yellow)](https://doi.org/10.5281/zenodo.23632625)
46
+ [![PyPI Version](https://img.shields.io/pypi/v/aprict)](https://pypi.org/project/aprict/)
47
+ ![Static Badge](https://img.shields.io/badge/Install-pip_install_aprict%5Bgui%5D-212121?logo=PyPI&logoColor=white)
45
48
  [![Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.](https://www.repostatus.org/badges/latest/wip.svg)](https://www.repostatus.org/#wip)
49
+
46
50
  <details open><summary><h1>About</h1></summary>
47
51
 
48
52
  Description
@@ -52,7 +56,7 @@ Description
52
56
 
53
57
  API documentation
54
58
  ---
55
- The Python API documentation is limited and incomplete, but available in the `docs/` directory. The documentation for the latest release may also be hosted at [`https://murdock-grewar.github.io/aprict/`](https://murdock-grewar.github.io/aprict/).
59
+ The Python API documentation is limited and incomplete, but available in the `docs/` directory. The documentation for the latest release may also be hosted at [`docs.aprict.au`](https://docs.aprict.au/).
56
60
 
57
61
  Disclaimer
58
62
  ---
@@ -1,7 +1,11 @@
1
- [![Static Badge](https://img.shields.io/badge/ORCiD-0000--0002--0015--8284-green?logo=orcid)](https://orcid.org/0000-0002-0015-8284)
2
- [![Static Badge](https://img.shields.io/badge/DOI-10.5281%2Fzenodo.23632625-blue?logo=DOI&color=blue)](https://doi.org/10.5281/zenodo.23632625)
3
- ![PyPI Version](https://img.shields.io/pypi/v/aprict)
1
+ ![project logo](https://raw.githubusercontent.com/murdock-grewar/aprict/refs/heads/release/img/logo_horz_big.svg)
2
+
3
+ [![Static Badge](https://img.shields.io/badge/Author_ORCiD-0000--0002--0015--8284-green?logo=orcid)](https://orcid.org/0000-0002-0015-8284)
4
+ [![Static Badge](https://img.shields.io/badge/Project_DOI-10.5281%2Fzenodo.23632625-yellow?logo=DOI&color=yellow)](https://doi.org/10.5281/zenodo.23632625)
5
+ [![PyPI Version](https://img.shields.io/pypi/v/aprict)](https://pypi.org/project/aprict/)
6
+ ![Static Badge](https://img.shields.io/badge/Install-pip_install_aprict%5Bgui%5D-212121?logo=PyPI&logoColor=white)
4
7
  [![Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.](https://www.repostatus.org/badges/latest/wip.svg)](https://www.repostatus.org/#wip)
8
+
5
9
  <details open><summary><h1>About</h1></summary>
6
10
 
7
11
  Description
@@ -11,7 +15,7 @@ Description
11
15
 
12
16
  API documentation
13
17
  ---
14
- The Python API documentation is limited and incomplete, but available in the `docs/` directory. The documentation for the latest release may also be hosted at [`https://murdock-grewar.github.io/aprict/`](https://murdock-grewar.github.io/aprict/).
18
+ The Python API documentation is limited and incomplete, but available in the `docs/` directory. The documentation for the latest release may also be hosted at [`docs.aprict.au`](https://docs.aprict.au/).
15
19
 
16
20
  Disclaimer
17
21
  ---
@@ -0,0 +1,146 @@
1
+ # Copyright (C) 2026 Murdock Grewar
2
+ #
3
+ # This program is free software: you can redistribute it and/or modify
4
+ # it under the terms of the GNU General Public License as published by
5
+ # the Free Software Foundation, either version 3 of the License, or
6
+ # (at your option) any later version.
7
+ #
8
+ # This program is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ # GNU General Public License for more details.
12
+ #
13
+ # You should have received a copy of the GNU General Public License
14
+ # along with this program. If not, see <https://www.gnu.org/licenses/>.
15
+
16
+ r"""
17
+ [![Static Badge](https://img.shields.io/badge/Author_ORCiD-0000--0002--0015--8284-green?logo=orcid)](https://orcid.org/0000-0002-0015-8284)
18
+ [![Static Badge](https://img.shields.io/badge/Project_DOI-10.5281%2Fzenodo.23632625-yellow?logo=DOI&color=yellow)](https://doi.org/10.5281/zenodo.23632625)
19
+ [![PyPI Version](https://img.shields.io/pypi/v/aprict)](https://pypi.org/project/aprict/)
20
+ [![Static Badge](https://img.shields.io/badge/github-murdock--grewar%2Faprict-212121?logo=github&logoColor=white)](https://github.com/murdock-grewar/aprict)
21
+ [![Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.](https://www.repostatus.org/badges/latest/wip.svg)](https://www.repostatus.org/#wip)
22
+
23
+ # What is `aprict`?
24
+
25
+ `aprict` is a Python module for simulating and reconstructing from flat-panel transmission X-ray experiments. In other words, it is a library for Cone-Beam Computed Tomography (CBCT).
26
+
27
+ ## Features
28
+
29
+ `aprict` uses the GPU for all the heavy operations. The terminology 'in-core' and 'out-of-core' here refers to whether the relevant data must fit entirely within the GPU VRAM (in-core) or not (out-of-core). Most operations have no minimum RAM requirement in practice. Included features as of `aprict==0.0.33`:
30
+ - Out-of-core calculation of projection data for arbitrary flat-panel geometries. Supports voxelised volumes and (almost) any FORBILD phantom. (Exact line integrals in all cases.)
31
+ - Out-of-core analytic reconstruction for special geometries.
32
+ - In-core iterative reconstruction for arbitrary geometries.
33
+
34
+ ## Installation
35
+
36
+ You can install `aprict` with `pip install aprict[gui]`.
37
+
38
+ ## Quickstart
39
+
40
+ Follow this three-step process to get a quick flavour of the capabilities of this package. Run these commands in a shell such as `bash`, from a fresh directory, with an active Python environment with `aprict[gui]` installed. Note that all units of distance are measured in millimeters.
41
+
42
+ 1. Create a `projgeom.json` file encoding the experiment geometry:
43
+ ```bash
44
+ aprict make-geom cone-cyl \
45
+ --num 1000 \
46
+ --type GOLDEN_THETA \
47
+ --R 250 --L-minus-R 250 --h 700 \
48
+ --detwid 600 --dethei 600 \
49
+ --pixwid-isoc 0.25 --pixhei-isoc 0.25 \
50
+ --output projgeom.json
51
+ ```
52
+ 2. Create the linearised projection data in directory `projs/`, based on the geometry encoded in `projgeom.json`:
53
+ ```bash
54
+ aprict project cbfp \
55
+ --geom projgeom.json \
56
+ --phantom-preset HEAD \
57
+ --ssu 3 --ssv 3 \
58
+ --output projs \
59
+ --plot-mode PYQTGRAPH # available if `gui` extra installed
60
+ ```
61
+ 3. Create a tomographic reconstruction in directory `recon_gbc/`, from the geometry and simulated data. Uses the Global Backprojection-Convolution (GBC) algorithm:
62
+ ```bash
63
+ aprict recon gbc-cone-cyl \
64
+ --geom projs/projgeom.json \
65
+ --projs projs/projs.npy \
66
+ --voxwid 0.5 \
67
+ --volshape '(525,525,525)' \
68
+ --alg GREWAR \
69
+ --f1 1.2 --f2 6 --n 9 --eps 1e-9 \
70
+ --plotmin 0 --plotmax 0.0368 \
71
+ --output recon_gbc \
72
+ --plot-mode PYQTGRAPH # available if `gui` extra installed
73
+ ```
74
+ PNG previews of the reconstruction are available at `recon_gbc/output/*.png`. The full reconstruction is available at `recon_gbc/output/recon.npy`.
75
+
76
+ Optionally, the reconstruction can be converted to `OME-Zarr 5.0` format with:
77
+ ```bash
78
+ aprict convert npy_to_omez \
79
+ --input recon_gbc/output/recon.npy \
80
+ --output ./recon.zarr \
81
+ --voxwid-mm 0.5 \
82
+ --ver V0_5
83
+ ```
84
+
85
+ # Recommended use
86
+
87
+ ## Commandline interface (CLI)
88
+
89
+ The entry point for the main commandline interface is the shell command `aprict`. This shell command should be available on `$PATH` if the module is installed in the current environment. All shell commands are self-documented:
90
+ ```bash
91
+ $ aprict --help
92
+ ```
93
+
94
+ ## Python API
95
+ ### Recommended import pattern
96
+
97
+ The recommended import pattern for this module is
98
+ ```python
99
+ import aprict
100
+ from aprict.cb import flatpanel as cbfp
101
+ ```
102
+
103
+ ### Main components of the Python API
104
+
105
+ The main components of the end-user Python API are:
106
+ - [`aprict.FBVolume`](aprict/volume.html#FBVolume) - an attenuating volume defined in FORBILD format (alias for `aprict.volume.FBVolume`)
107
+ - [`aprict.Volume`](aprict/volume.html#Volume) - an attenuating volume defined in voxelised format (alias for `aprict.volume.Volume`)
108
+ - `aprict.cb.flatpanel` - a namespace for objects and functions applying to cone-beam imaging geometries
109
+
110
+ ### Examples using the Python API
111
+
112
+ For examples of Python API usage, see `aprict.examples`.
113
+
114
+ """ # ruff: ignore[ambiguous-unicode-character-docstring, missing-blank-line-after-summary, missing-trailing-period]
115
+
116
+ # If we are just running the build script, then I don't want to initialise anything,
117
+ # because the imports fail because it hasn't built yet.
118
+
119
+ import os as _os
120
+
121
+ if _os.environ.get("APRICT_BUILDMODE", ""): # ruff: ignore[non-empty-init-module]
122
+ pass
123
+ else:
124
+ # Ensure that numexpr max threads is set to the number of logical cores before importing numexpr either directly or indirectly through other imports.
125
+ _nethreads_max_env = _os.environ.get("NUMEXPR_MAX_THREADS", None)
126
+ if _nethreads_max_env is None:
127
+ _os.environ["NUMEXPR_MAX_THREADS"] = str(_os.process_cpu_count())
128
+
129
+ del _os
130
+ from . import cb as cb
131
+ from . import image_view as imview
132
+ from . import iterators, lib, phantoms, volume
133
+ from .cuda import structs as dtypes
134
+ from .volume import FBVolume as FBVolume
135
+ from .volume import Volume as Volume
136
+
137
+ # Note that __all__ determines what's listed in the documentation page.
138
+ __all__ = [
139
+ "cb",
140
+ "dtypes",
141
+ "imview",
142
+ "iterators",
143
+ "lib",
144
+ "phantoms",
145
+ "volume",
146
+ ]
@@ -33,6 +33,7 @@ from aprict.lib import click_tools, ne_tools
33
33
 
34
34
  from .. import FBVolume, imview, logtools, phantoms
35
35
  from ..cb import flatpanel as cbfp
36
+ from ..lib import import_tools
36
37
 
37
38
  _mod_avail_imview = imview._pyqtgraph_installed # ruff: ignore[private-member-access]
38
39
 
@@ -264,6 +265,10 @@ def main_from_args(args: types.SimpleNamespace) -> None: # ruff: ignore[complex
264
265
  ##########################################################
265
266
  ##################### Logging setup ######################
266
267
  ##########################################################
268
+ # Purge any existing root logger handlers.
269
+ # This step is necessary as a hotfix to prevent badly-behaved imports from adding
270
+ # their own root logger handlers.
271
+ import_tools.purge_root_loggers()
267
272
  # Prevent root logger from squashing child loggers from outputting
268
273
  logging.root.setLevel(logging.NOTSET)
269
274
  # Create custom logger object
@@ -16,4 +16,4 @@
16
16
  # This file is read from by 'setup.py', from '__init__.py', and also by a git hook which increments the dev number each time a commit is made on the 'dev' branch. There should only be one line in the file which begins with "version".
17
17
  """File which stores the current version number of this module."""
18
18
 
19
- version = "0.0.33"
19
+ version = "0.0.34.dev8"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aprict
3
- Version: 0.0.33
3
+ Version: 0.0.34.dev8
4
4
  Summary: Tools to simulate and reconstruct XCT transmission data.
5
5
  Author: Murdock Grewar
6
6
  Author-email: Murdock Grewar <murdock.grewar@anu.edu.au>
@@ -39,10 +39,14 @@ Requires-Dist: neuroglancer>=2.41.0; extra == "gui"
39
39
  Dynamic: author
40
40
  Dynamic: license-file
41
41
 
42
- [![Static Badge](https://img.shields.io/badge/ORCiD-0000--0002--0015--8284-green?logo=orcid)](https://orcid.org/0000-0002-0015-8284)
43
- [![Static Badge](https://img.shields.io/badge/DOI-10.5281%2Fzenodo.23632625-blue?logo=DOI&color=blue)](https://doi.org/10.5281/zenodo.23632625)
44
- ![PyPI Version](https://img.shields.io/pypi/v/aprict)
42
+ ![project logo](https://raw.githubusercontent.com/murdock-grewar/aprict/refs/heads/release/img/logo_horz_big.svg)
43
+
44
+ [![Static Badge](https://img.shields.io/badge/Author_ORCiD-0000--0002--0015--8284-green?logo=orcid)](https://orcid.org/0000-0002-0015-8284)
45
+ [![Static Badge](https://img.shields.io/badge/Project_DOI-10.5281%2Fzenodo.23632625-yellow?logo=DOI&color=yellow)](https://doi.org/10.5281/zenodo.23632625)
46
+ [![PyPI Version](https://img.shields.io/pypi/v/aprict)](https://pypi.org/project/aprict/)
47
+ ![Static Badge](https://img.shields.io/badge/Install-pip_install_aprict%5Bgui%5D-212121?logo=PyPI&logoColor=white)
45
48
  [![Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.](https://www.repostatus.org/badges/latest/wip.svg)](https://www.repostatus.org/#wip)
49
+
46
50
  <details open><summary><h1>About</h1></summary>
47
51
 
48
52
  Description
@@ -52,7 +56,7 @@ Description
52
56
 
53
57
  API documentation
54
58
  ---
55
- The Python API documentation is limited and incomplete, but available in the `docs/` directory. The documentation for the latest release may also be hosted at [`https://murdock-grewar.github.io/aprict/`](https://murdock-grewar.github.io/aprict/).
59
+ The Python API documentation is limited and incomplete, but available in the `docs/` directory. The documentation for the latest release may also be hosted at [`docs.aprict.au`](https://docs.aprict.au/).
56
60
 
57
61
  Disclaimer
58
62
  ---
@@ -1,92 +0,0 @@
1
- # Copyright (C) 2026 Murdock Grewar
2
- #
3
- # This program is free software: you can redistribute it and/or modify
4
- # it under the terms of the GNU General Public License as published by
5
- # the Free Software Foundation, either version 3 of the License, or
6
- # (at your option) any later version.
7
- #
8
- # This program is distributed in the hope that it will be useful,
9
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
- # GNU General Public License for more details.
12
- #
13
- # You should have received a copy of the GNU General Public License
14
- # along with this program. If not, see <https://www.gnu.org/licenses/>.
15
-
16
- """
17
- [![Static Badge](https://img.shields.io/badge/ORCiD-0000--0002--0015--8284-green?logo=orcid)](https://orcid.org/0000-0002-0015-8284)
18
- [![Static Badge](https://img.shields.io/badge/DOI-10.5281%2Fzenodo.23632625-blue?logo=DOI&color=blue)](https://doi.org/10.5281/zenodo.23632625)
19
- ![PyPI Version](https://img.shields.io/pypi/v/aprict)
20
- [![Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.](https://www.repostatus.org/badges/latest/wip.svg)](https://www.repostatus.org/#wip)
21
-
22
- `aprict` is a Python module and commandline program for simulating flat-panel transmission X-ray experiments.
23
-
24
- Recommended import pattern
25
- --
26
-
27
- The recommended import pattern for this module is
28
- ```python
29
- import aprict
30
- from aprict.cb import flatpanel as cbfp
31
- ```
32
-
33
- Main components
34
- --
35
-
36
- The main components of the end-user Python API are:
37
- - [`aprict.FBVolume`](aprict/volume.html#FBVolume) - an attenuating volume defined in FORBILD format
38
- - [`aprict.Volume`](aprict/volume.html#Volume) - an attenuating volume defined in voxelised format
39
- - `aprict.cb.flatpanel` - a namespace for objects and functions applying to cone-beam imaging geometries
40
-
41
- Examples
42
- --
43
-
44
- For examples of Python API usage, see `aprict.examples`.
45
-
46
- Commandline interface
47
- --
48
-
49
- The entry point for the main commandline interface is the shell command `aprict`. This shell command should be available on `$PATH` if the module is installed in the current environment. All shell commands are self-documented:
50
- ```bash
51
- $ aprict --help
52
- ```
53
- """ # ruff: ignore[ambiguous-unicode-character-docstring, blank-lines-between-header-and-content, mismatched-section-underline-length, missing-blank-line-after-summary, missing-trailing-period]
54
-
55
- # If we are just running the build script, then I don't want to initialise anything,
56
- # because the imports fail because it hasn't built yet.
57
-
58
- import os as _os
59
-
60
- if _os.environ.get("APRICT_BUILDMODE", ""): # ruff: ignore[non-empty-init-module]
61
- pass
62
- else:
63
- # Ensure that numexpr max threads is set to the number of logical cores before importing numexpr either directly or indirectly through other imports.
64
- _nethreads_max_env = _os.environ.get("NUMEXPR_MAX_THREADS", None)
65
- if _nethreads_max_env is None:
66
- _os.environ["NUMEXPR_MAX_THREADS"] = str(_os.process_cpu_count())
67
-
68
- del _os
69
- from . import cb as cb
70
- from . import image_view as imview
71
- from . import iterators, lib, phantoms, volume
72
- from .cuda import structs as dtypes
73
- from .volume import FBVolume as FBVolume
74
-
75
- FBVolume.__doc__ = "@private\nAn alias to aprict.volume.FBVolume" # Hide from pdoc documentation of this module
76
- from .volume import Volume as Volume
77
-
78
- Volume.__doc__ = "@private\nAn alias to aprict.volume.Volume" # Hide from pdoc documentation of this module
79
-
80
- # Note that __all__ determines what's listed in the documentation page.
81
- # So, I'm selecting only those parts which I want to be documented on the main doc page here.
82
- __all__ = [
83
- "FBVolume", # documented in aprict.volume
84
- "Volume", # documented in aprict.volume
85
- "cb",
86
- "dtypes",
87
- "imview",
88
- "iterators",
89
- "lib",
90
- "phantoms",
91
- "volume",
92
- ]
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes