httomo-backends 0.7__tar.gz → 0.7.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 (159) hide show
  1. {httomo_backends-0.7 → httomo_backends-0.7.2}/PKG-INFO +1 -2
  2. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/methods_database/packages/backends/httomolibgpu/supporting_funcs/recon/algorithm.py +27 -14
  3. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.recon.algorithm/LPRec3d_tomobar.yaml +1 -0
  4. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends.egg-info/PKG-INFO +1 -2
  5. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends.egg-info/requires.txt +0 -1
  6. {httomo_backends-0.7 → httomo_backends-0.7.2}/pyproject.toml +1 -2
  7. {httomo_backends-0.7 → httomo_backends-0.7.2}/tests/test_httomolibgpu.py +23 -0
  8. {httomo_backends-0.7 → httomo_backends-0.7.2}/LICENSE +0 -0
  9. {httomo_backends-0.7 → httomo_backends-0.7.2}/README.rst +0 -0
  10. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/__init__.py +0 -0
  11. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/cufft.py +0 -0
  12. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/methods_database/__init__.py +0 -0
  13. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/methods_database/packages/__init__.py +0 -0
  14. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/methods_database/packages/backends/httomolib/httomolib.yaml +0 -0
  15. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/methods_database/packages/backends/httomolib/httomolib_modules.yaml +0 -0
  16. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/methods_database/packages/backends/httomolibgpu/__init__.py +0 -0
  17. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/methods_database/packages/backends/httomolibgpu/httomolibgpu.yaml +0 -0
  18. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/methods_database/packages/backends/httomolibgpu/httomolibgpu_modules.yaml +0 -0
  19. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/methods_database/packages/backends/httomolibgpu/supporting_funcs/__init__.py +0 -0
  20. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/methods_database/packages/backends/httomolibgpu/supporting_funcs/misc/__init__.py +0 -0
  21. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/methods_database/packages/backends/httomolibgpu/supporting_funcs/misc/corr.py +0 -0
  22. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/methods_database/packages/backends/httomolibgpu/supporting_funcs/misc/denoise.py +0 -0
  23. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/methods_database/packages/backends/httomolibgpu/supporting_funcs/misc/morph.py +0 -0
  24. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/methods_database/packages/backends/httomolibgpu/supporting_funcs/misc/rescale.py +0 -0
  25. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/methods_database/packages/backends/httomolibgpu/supporting_funcs/prep/__init__.py +0 -0
  26. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/methods_database/packages/backends/httomolibgpu/supporting_funcs/prep/normalize.py +0 -0
  27. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/methods_database/packages/backends/httomolibgpu/supporting_funcs/prep/phase.py +0 -0
  28. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/methods_database/packages/backends/httomolibgpu/supporting_funcs/prep/stripe.py +0 -0
  29. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/methods_database/packages/backends/httomolibgpu/supporting_funcs/recon/__init__.py +0 -0
  30. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/methods_database/packages/backends/httomolibgpu/supporting_funcs/recon/peak_memory_line_profile_hook.py +0 -0
  31. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/methods_database/packages/backends/tomopy/__init__.py +0 -0
  32. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/methods_database/packages/backends/tomopy/supporting_funcs/__init__.py +0 -0
  33. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/methods_database/packages/backends/tomopy/supporting_funcs/misc/__init__.py +0 -0
  34. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/methods_database/packages/backends/tomopy/supporting_funcs/misc/corr.py +0 -0
  35. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/methods_database/packages/backends/tomopy/supporting_funcs/prep/__init__.py +0 -0
  36. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/methods_database/packages/backends/tomopy/supporting_funcs/prep/stripe.py +0 -0
  37. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/methods_database/packages/backends/tomopy/supporting_funcs/recon/__init__.py +0 -0
  38. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/methods_database/packages/backends/tomopy/supporting_funcs/recon/algorithm.py +0 -0
  39. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/methods_database/packages/backends/tomopy/tomopy.yaml +0 -0
  40. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/methods_database/packages/backends/tomopy/tomopy_modules.yaml +0 -0
  41. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/methods_database/packages/httomo.yaml +0 -0
  42. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/methods_database/query.py +0 -0
  43. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/pipelines_full/FBP2d_astra_directive.yaml +0 -0
  44. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/pipelines_full/FBP3d_tomobar_denoising_directive.yaml +0 -0
  45. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/pipelines_full/FBP3d_tomobar_directive.yaml +0 -0
  46. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/pipelines_full/FBP3d_tomobar_noimagesaving_directive.yaml +0 -0
  47. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/pipelines_full/FISTA3d_tomobar_directive.yaml +0 -0
  48. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/pipelines_full/LPRec3d_tomobar_directive.yaml +0 -0
  49. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/pipelines_full/__init__.py +0 -0
  50. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/pipelines_full/deg360_distortion_FBP3d_tomobar_directive.yaml +0 -0
  51. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/pipelines_full/deg360_paganin_FBP3d_tomobar_directive.yaml +0 -0
  52. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/pipelines_full/sweep_center_FBP3d_tomobar_directive.yaml +0 -0
  53. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/pipelines_full/sweep_paganin_FBP3d_tomobar_directive.yaml +0 -0
  54. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/pipelines_full/titaren_center_pc_FBP3d_resample_directive.yaml +0 -0
  55. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/pipelines_full/tomopy_gridrec_directive.yaml +0 -0
  56. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/scripts/__init__.py +0 -0
  57. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/scripts/json_pipelines_generator.py +0 -0
  58. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/scripts/yaml_pipelines_generator.py +0 -0
  59. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/scripts/yaml_templates_generator.py +0 -0
  60. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/scripts/yaml_unsupported_tomopy_remove.py +0 -0
  61. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/httomo/__init__.py +0 -0
  62. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/httomo/httomo.data.hdf.loaders/standard_tomo.yaml +0 -0
  63. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/httomo/httomo.methods/calculate_stats.yaml +0 -0
  64. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/httomo/httomo.methods/save_intermediate_data.yaml +0 -0
  65. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/httomolib/__init__.py +0 -0
  66. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/httomolib/httomolib.misc.images/save_to_images.yaml +0 -0
  67. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/httomolib/httomolib.misc.morph/data_reducer.yaml +0 -0
  68. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/httomolib/httomolib.misc.rescale/rescale_to_int.yaml +0 -0
  69. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/httomolib/httomolib.misc.segm/binary_thresholding.yaml +0 -0
  70. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/httomolib/httomolib.prep.phase/paganin_filter.yaml +0 -0
  71. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/httomolibgpu/__init__.py +0 -0
  72. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.misc.corr/median_filter.yaml +0 -0
  73. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.misc.corr/remove_outlier.yaml +0 -0
  74. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.misc.denoise/total_variation_PD.yaml +0 -0
  75. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.misc.denoise/total_variation_ROF.yaml +0 -0
  76. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.misc.morph/data_resampler.yaml +0 -0
  77. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.misc.morph/sino_360_to_180.yaml +0 -0
  78. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.misc.rescale/rescale_to_int.yaml +0 -0
  79. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.prep.alignment/distortion_correction_proj_discorpy.yaml +0 -0
  80. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.prep.normalize/normalize.yaml +0 -0
  81. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.prep.phase/paganin_filter_tomopy.yaml +0 -0
  82. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.prep.stripe/raven_filter.yaml +0 -0
  83. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.prep.stripe/remove_all_stripe.yaml +0 -0
  84. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.prep.stripe/remove_stripe_based_sorting.yaml +0 -0
  85. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.prep.stripe/remove_stripe_ti.yaml +0 -0
  86. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.recon.algorithm/CGLS3d_tomobar.yaml +0 -0
  87. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.recon.algorithm/FBP2d_astra.yaml +0 -0
  88. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.recon.algorithm/FBP3d_tomobar.yaml +0 -0
  89. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.recon.algorithm/FISTA3d_tomobar.yaml +0 -0
  90. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.recon.algorithm/SIRT3d_tomobar.yaml +0 -0
  91. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.recon.rotation/find_center_360.yaml +0 -0
  92. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.recon.rotation/find_center_pc.yaml +0 -0
  93. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/httomolibgpu/httomolibgpu.recon.rotation/find_center_vo.yaml +0 -0
  94. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/__init__.py +0 -0
  95. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.misc.corr/adjust_range.yaml +0 -0
  96. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.misc.corr/circ_mask.yaml +0 -0
  97. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.misc.corr/gaussian_filter.yaml +0 -0
  98. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.misc.corr/median_filter.yaml +0 -0
  99. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.misc.corr/median_filter3d.yaml +0 -0
  100. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.misc.corr/median_filter_nonfinite.yaml +0 -0
  101. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.misc.corr/remove_nan.yaml +0 -0
  102. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.misc.corr/remove_neg.yaml +0 -0
  103. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.misc.corr/remove_outlier.yaml +0 -0
  104. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.misc.corr/remove_outlier1d.yaml +0 -0
  105. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.misc.corr/remove_outlier3d.yaml +0 -0
  106. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.misc.corr/remove_ring.yaml +0 -0
  107. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.misc.corr/sobel_filter.yaml +0 -0
  108. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.misc.morph/downsample.yaml +0 -0
  109. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.misc.morph/pad.yaml +0 -0
  110. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.misc.morph/sino_360_to_180.yaml +0 -0
  111. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.misc.morph/trim_sinogram.yaml +0 -0
  112. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.misc.morph/upsample.yaml +0 -0
  113. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.prep.alignment/add_jitter.yaml +0 -0
  114. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.prep.alignment/add_noise.yaml +0 -0
  115. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.prep.alignment/align_joint.yaml +0 -0
  116. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.prep.alignment/align_seq.yaml +0 -0
  117. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.prep.alignment/blur_edges.yaml +0 -0
  118. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.prep.alignment/distortion_correction_proj.yaml +0 -0
  119. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.prep.alignment/distortion_correction_sino.yaml +0 -0
  120. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.prep.alignment/scale.yaml +0 -0
  121. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.prep.alignment/shift_images.yaml +0 -0
  122. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.prep.normalize/minus_log.yaml +0 -0
  123. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.prep.normalize/normalize.yaml +0 -0
  124. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.prep.normalize/normalize_bg.yaml +0 -0
  125. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.prep.normalize/normalize_nf.yaml +0 -0
  126. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.prep.normalize/normalize_roi.yaml +0 -0
  127. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.prep.phase/retrieve_phase.yaml +0 -0
  128. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.prep.stripe/remove_all_stripe.yaml +0 -0
  129. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.prep.stripe/remove_dead_stripe.yaml +0 -0
  130. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.prep.stripe/remove_large_stripe.yaml +0 -0
  131. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.prep.stripe/remove_stripe_based_filtering.yaml +0 -0
  132. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.prep.stripe/remove_stripe_based_fitting.yaml +0 -0
  133. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.prep.stripe/remove_stripe_based_interpolation.yaml +0 -0
  134. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.prep.stripe/remove_stripe_based_sorting.yaml +0 -0
  135. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.prep.stripe/remove_stripe_fw.yaml +0 -0
  136. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.prep.stripe/remove_stripe_sf.yaml +0 -0
  137. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.prep.stripe/remove_stripe_ti.yaml +0 -0
  138. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.prep.stripe/stripes_detect3d.yaml +0 -0
  139. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.prep.stripe/stripes_mask3d.yaml +0 -0
  140. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.recon.algorithm/recon.yaml +0 -0
  141. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.recon.rotation/find_center.yaml +0 -0
  142. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.recon.rotation/find_center_pc.yaml +0 -0
  143. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.recon.rotation/find_center_vo.yaml +0 -0
  144. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.sim.project/add_drift.yaml +0 -0
  145. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.sim.project/add_focal_spot_blur.yaml +0 -0
  146. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.sim.project/add_gaussian.yaml +0 -0
  147. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.sim.project/add_poisson.yaml +0 -0
  148. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.sim.project/add_rings.yaml +0 -0
  149. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.sim.project/add_salt_pepper.yaml +0 -0
  150. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.sim.project/add_zingers.yaml +0 -0
  151. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.sim.project/project.yaml +0 -0
  152. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.sim.project/project2.yaml +0 -0
  153. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends/yaml_templates/tomopy/tomopy.sim.project/project3.yaml +0 -0
  154. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends.egg-info/SOURCES.txt +0 -0
  155. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends.egg-info/dependency_links.txt +0 -0
  156. {httomo_backends-0.7 → httomo_backends-0.7.2}/httomo_backends.egg-info/top_level.txt +0 -0
  157. {httomo_backends-0.7 → httomo_backends-0.7.2}/setup.cfg +0 -0
  158. {httomo_backends-0.7 → httomo_backends-0.7.2}/tests/test_method_query.py +0 -0
  159. {httomo_backends-0.7 → httomo_backends-0.7.2}/tests/test_tomopy.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: httomo-backends
3
- Version: 0.7
3
+ Version: 0.7.2
4
4
  Summary: Supplementary files for HTTomo backends.
5
5
  Author: Garry ODonnell, Jacob Williamson
6
6
  Author-email: Daniil Kazantsev <daniil.kazantsev@diamond.ac.uk>, Yousef Moazzam <yousef.moazzam@diamond.ac.uk>, Jessica Verschoyle <jessica.verschoyle@diamond.ac.uk>, Naman Gera <naman.gera@diamond.ac.uk>, scientificsoftware@diamond.ac.uk
@@ -22,7 +22,6 @@ Requires-Dist: h5py
22
22
  Requires-Dist: astra-toolbox
23
23
  Requires-Dist: tomobar
24
24
  Requires-Dist: scikit-image
25
- Requires-Dist: ccpi-regularisation-cupy
26
25
  Provides-Extra: dev
27
26
  Requires-Dist: pytest; extra == "dev"
28
27
  Requires-Dist: pytest-mock; extra == "dev"
@@ -192,7 +192,14 @@ def _calc_memory_bytes_LPRec3d_tomobar(
192
192
  detector_pad = 0
193
193
 
194
194
  min_mem_usage_filter = False
195
+ if "min_mem_usage_filter" in kwargs:
196
+ min_mem_usage_filter = kwargs["min_mem_usage_filter"]
195
197
  min_mem_usage_ifft2 = False
198
+ if "min_mem_usage_ifft2" in kwargs:
199
+ min_mem_usage_ifft2 = kwargs["min_mem_usage_ifft2"]
200
+ power_of_2_cropping = False
201
+ if "power_of_2_cropping" in kwargs:
202
+ power_of_2_cropping = kwargs["power_of_2_cropping"]
196
203
 
197
204
  angles_tot = non_slice_dims_shape[0]
198
205
  DetectorsLengthH_prepad = non_slice_dims_shape[1]
@@ -201,6 +208,10 @@ def _calc_memory_bytes_LPRec3d_tomobar(
201
208
  _CENTER_SIZE_MIN = 192 # must be divisible by 8
202
209
 
203
210
  n = DetectorsLengthH
211
+ if(power_of_2_cropping):
212
+ n_pow2 = 2 ** math.ceil(math.log2(n))
213
+ if( 0.9 < n / n_pow2 ):
214
+ n = n_pow2
204
215
 
205
216
  odd_horiz = False
206
217
  if (n % 2) != 0:
@@ -339,21 +350,21 @@ def _calc_memory_bytes_LPRec3d_tomobar(
339
350
 
340
351
  add_to_memory_counters(tmp_p_input_slice, True)
341
352
  if min_mem_usage_filter:
342
- add_to_memory_counters(rfft_plan_slice_size / 4, False)
343
- add_to_memory_counters(irfft_plan_slice_size / 4, False)
344
- add_to_memory_counters(padded_tmp_p_input_slice, False)
353
+ add_to_memory_counters(rfft_plan_slice_size / 4 / projection_chunk_count, False)
354
+ add_to_memory_counters(irfft_plan_slice_size / 4 / projection_chunk_count, False)
355
+ add_to_memory_counters(padded_tmp_p_input_slice / projection_chunk_count, False)
345
356
 
346
- add_to_memory_counters(rfft_result_size, False)
347
- add_to_memory_counters(filtered_rfft_result_size, False)
348
- add_to_memory_counters(-rfft_result_size, False)
349
- add_to_memory_counters(-padded_tmp_p_input_slice, False)
357
+ add_to_memory_counters(rfft_result_size / projection_chunk_count, False)
358
+ add_to_memory_counters(filtered_rfft_result_size / projection_chunk_count, False)
359
+ add_to_memory_counters(-rfft_result_size / projection_chunk_count, False)
360
+ add_to_memory_counters(-padded_tmp_p_input_slice / projection_chunk_count, False)
350
361
 
351
- add_to_memory_counters(irfft_scratch_memory_size, False)
352
- add_to_memory_counters(-irfft_scratch_memory_size, False)
353
- add_to_memory_counters(irfft_result_size, False)
354
- add_to_memory_counters(-filtered_rfft_result_size, False)
362
+ add_to_memory_counters(irfft_scratch_memory_size / projection_chunk_count, False)
363
+ add_to_memory_counters(-irfft_scratch_memory_size / projection_chunk_count, False)
364
+ add_to_memory_counters(irfft_result_size / projection_chunk_count, False)
365
+ add_to_memory_counters(-filtered_rfft_result_size / projection_chunk_count, False)
355
366
 
356
- add_to_memory_counters(-irfft_result_size, False)
367
+ add_to_memory_counters(-irfft_result_size / projection_chunk_count, False)
357
368
  else:
358
369
  add_to_memory_counters(rfft_plan_slice_size / chunk_count / projection_chunk_count * 2, True)
359
370
  add_to_memory_counters(irfft_plan_slice_size / chunk_count / projection_chunk_count * 2, True)
@@ -402,8 +413,10 @@ def _calc_memory_bytes_LPRec3d_tomobar(
402
413
  add_to_memory_counters(circular_mask_size, False)
403
414
  add_to_memory_counters(after_recon_swapaxis_slice, True)
404
415
 
405
- if min_mem_usage_ifft2 and min_mem_usage_filter:
406
- return (tot_memory_bytes * 1.1 + 30 * 1024 * 1024, fixed_amount)
416
+ if min_mem_usage_filter and min_mem_usage_ifft2:
417
+ return (tot_memory_bytes * 1.15, fixed_amount)
418
+ elif min_mem_usage_filter and not min_mem_usage_ifft2:
419
+ return (tot_memory_bytes + 60 * 1024 * 1024, fixed_amount)
407
420
  else:
408
421
  return (tot_memory_bytes * 1.1, fixed_amount)
409
422
 
@@ -8,6 +8,7 @@
8
8
  recon_size: null
9
9
  recon_mask_radius: 0.95
10
10
  power_of_2_oversampling: true
11
+ power_of_2_cropping: true
11
12
  min_mem_usage_filter: false
12
13
  min_mem_usage_ifft2: false
13
14
  neglog: false
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: httomo-backends
3
- Version: 0.7
3
+ Version: 0.7.2
4
4
  Summary: Supplementary files for HTTomo backends.
5
5
  Author: Garry ODonnell, Jacob Williamson
6
6
  Author-email: Daniil Kazantsev <daniil.kazantsev@diamond.ac.uk>, Yousef Moazzam <yousef.moazzam@diamond.ac.uk>, Jessica Verschoyle <jessica.verschoyle@diamond.ac.uk>, Naman Gera <naman.gera@diamond.ac.uk>, scientificsoftware@diamond.ac.uk
@@ -22,7 +22,6 @@ Requires-Dist: h5py
22
22
  Requires-Dist: astra-toolbox
23
23
  Requires-Dist: tomobar
24
24
  Requires-Dist: scikit-image
25
- Requires-Dist: ccpi-regularisation-cupy
26
25
  Provides-Extra: dev
27
26
  Requires-Dist: pytest; extra == "dev"
28
27
  Requires-Dist: pytest-mock; extra == "dev"
@@ -8,7 +8,6 @@ h5py
8
8
  astra-toolbox
9
9
  tomobar
10
10
  scikit-image
11
- ccpi-regularisation-cupy
12
11
 
13
12
  [dev]
14
13
  pytest
@@ -24,7 +24,7 @@ dev_template = "{tag}"
24
24
 
25
25
  [project]
26
26
  name = "httomo-backends"
27
- version = "0.7"
27
+ version = "0.7.2"
28
28
  description = "Supplementary files for HTTomo backends."
29
29
  readme = "README.rst"
30
30
  license = {text = "BSD-3-Clause"}
@@ -55,7 +55,6 @@ dependencies = [
55
55
  "astra-toolbox",
56
56
  "tomobar",
57
57
  "scikit-image",
58
- "ccpi-regularisation-cupy",
59
58
  ]
60
59
 
61
60
  [project.optional-dependencies]
@@ -543,6 +543,8 @@ def test_recon_FBP3d_tomobar_memoryhook(
543
543
 
544
544
 
545
545
  @pytest.mark.cupy
546
+ @pytest.mark.parametrize("min_mem_usage_filter_ifft2", [(False, False)])
547
+ @pytest.mark.parametrize("power_of_2_cropping", [False])
546
548
  @pytest.mark.parametrize("padding_detx", [0, 10, 50, 100])
547
549
  @pytest.mark.parametrize("projections", [1500, 1801, 2560])
548
550
  @pytest.mark.parametrize("detX_size", [2560])
@@ -553,7 +555,9 @@ def test_recon_LPRec3d_tomobar_0_pi_memoryhook(
553
555
  detX_size,
554
556
  projections,
555
557
  projection_angle_range,
558
+ min_mem_usage_filter_ifft2,
556
559
  padding_detx,
560
+ power_of_2_cropping,
557
561
  ensure_clean_memory,
558
562
  ):
559
563
  __test_recon_LPRec3d_tomobar_memoryhook_common(
@@ -562,12 +566,16 @@ def test_recon_LPRec3d_tomobar_0_pi_memoryhook(
562
566
  projections,
563
567
  projection_angle_range,
564
568
  padding_detx,
569
+ min_mem_usage_filter_ifft2,
570
+ power_of_2_cropping,
565
571
  ensure_clean_memory,
566
572
  )
567
573
 
568
574
 
569
575
  @pytest.mark.full
570
576
  @pytest.mark.cupy
577
+ @pytest.mark.parametrize("min_mem_usage_filter_ifft2", [(False, False), (True, False), (True, True)])
578
+ @pytest.mark.parametrize("power_of_2_cropping", [False, True])
571
579
  @pytest.mark.parametrize("padding_detx", [0, 10, 50, 100, 800])
572
580
  @pytest.mark.parametrize("projections", [1500, 1801, 2560, 3601])
573
581
  @pytest.mark.parametrize("detX_size", [2560])
@@ -579,6 +587,8 @@ def test_recon_LPRec3d_tomobar_0_pi_memoryhook_full(
579
587
  projections,
580
588
  projection_angle_range,
581
589
  padding_detx,
590
+ min_mem_usage_filter_ifft2,
591
+ power_of_2_cropping,
582
592
  ensure_clean_memory,
583
593
  ):
584
594
  __test_recon_LPRec3d_tomobar_memoryhook_common(
@@ -587,12 +597,16 @@ def test_recon_LPRec3d_tomobar_0_pi_memoryhook_full(
587
597
  projections,
588
598
  projection_angle_range,
589
599
  padding_detx,
600
+ min_mem_usage_filter_ifft2,
601
+ power_of_2_cropping,
590
602
  ensure_clean_memory,
591
603
  )
592
604
 
593
605
 
594
606
  @pytest.mark.full
595
607
  @pytest.mark.cupy
608
+ @pytest.mark.parametrize("min_mem_usage_filter_ifft2", [(False, False), (True, False), (True, True)])
609
+ @pytest.mark.parametrize("power_of_2_cropping", [False, True])
596
610
  @pytest.mark.parametrize("padding_detx", [0, 10, 50, 100, 800])
597
611
  @pytest.mark.parametrize("projections", [1500, 1801, 2560, 3601])
598
612
  @pytest.mark.parametrize("detX_size", [2560])
@@ -606,6 +620,8 @@ def test_recon_LPRec3d_tomobar_memoryhook_full(
606
620
  projections,
607
621
  projection_angle_range,
608
622
  padding_detx,
623
+ min_mem_usage_filter_ifft2,
624
+ power_of_2_cropping,
609
625
  ensure_clean_memory,
610
626
  ):
611
627
  __test_recon_LPRec3d_tomobar_memoryhook_common(
@@ -614,6 +630,8 @@ def test_recon_LPRec3d_tomobar_memoryhook_full(
614
630
  projections,
615
631
  projection_angle_range,
616
632
  padding_detx,
633
+ min_mem_usage_filter_ifft2,
634
+ power_of_2_cropping,
617
635
  ensure_clean_memory,
618
636
  )
619
637
 
@@ -624,6 +642,8 @@ def __test_recon_LPRec3d_tomobar_memoryhook_common(
624
642
  projections,
625
643
  projection_angle_range,
626
644
  padding_detx,
645
+ min_mem_usage_filter_ifft2,
646
+ power_of_2_cropping,
627
647
  ensure_clean_memory,
628
648
  ):
629
649
  angles_number = projections
@@ -634,6 +654,9 @@ def __test_recon_LPRec3d_tomobar_memoryhook_common(
634
654
  )
635
655
  kwargs["center"] = 1280
636
656
  kwargs["detector_pad"] = padding_detx
657
+ kwargs["min_mem_usage_filter"] = min_mem_usage_filter_ifft2[0]
658
+ kwargs["min_mem_usage_ifft2"] = min_mem_usage_filter_ifft2[1]
659
+ kwargs["power_of_2_cropping"] = power_of_2_cropping
637
660
  kwargs["recon_size"] = detX_size
638
661
  kwargs["recon_mask_radius"] = 0.8
639
662
 
File without changes
File without changes