pytomography 3.2.3__tar.gz → 3.2.4__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 (169) hide show
  1. {pytomography-3.2.3 → pytomography-3.2.4}/PKG-INFO +1 -2
  2. {pytomography-3.2.3 → pytomography-3.2.4}/pyproject.toml +1 -1
  3. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/projectors/system_matrix.py +7 -0
  4. {pytomography-3.2.3 → pytomography-3.2.4}/.github/workflows/publish-to-test-pypi.yml +0 -0
  5. {pytomography-3.2.3 → pytomography-3.2.4}/.gitignore +0 -0
  6. {pytomography-3.2.3 → pytomography-3.2.4}/.readthedocs.yaml +0 -0
  7. {pytomography-3.2.3 → pytomography-3.2.4}/LICENSE +0 -0
  8. {pytomography-3.2.3 → pytomography-3.2.4}/README.md +0 -0
  9. {pytomography-3.2.3 → pytomography-3.2.4}/docs/Makefile +0 -0
  10. {pytomography-3.2.3 → pytomography-3.2.4}/docs/make.bat +0 -0
  11. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/_static/code_toggle.js +0 -0
  12. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/_static/css/code_toggle.css +0 -0
  13. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/_static/css/custom.css +0 -0
  14. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/conf.py +0 -0
  15. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/data_tables/collimator_data.rst +0 -0
  16. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/developers_guide.md +0 -0
  17. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/external_data.rst +0 -0
  18. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/gallery.rst +0 -0
  19. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/images/CT_slice.png +0 -0
  20. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/images/PT1.png +0 -0
  21. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/images/ac225_patient_dual.jpg +0 -0
  22. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/images/coordinate_conventions.png +0 -0
  23. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/images/emission.png +0 -0
  24. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/images/example_scanner_sm.png +0 -0
  25. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/images/figure2.jpg +0 -0
  26. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/images/figure4.jpg +0 -0
  27. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/images/figure4_left_hoz.jpg +0 -0
  28. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/images/figure5.jpg +0 -0
  29. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/images/pytomo_front_title.png +0 -0
  30. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/index.rst +0 -0
  31. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/index2.md +0 -0
  32. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/install.rst +0 -0
  33. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/notebooks/CT_slice.png +0 -0
  34. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/notebooks/conventions.ipynb +0 -0
  35. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/notebooks/p_simind_multiorgan.py +0 -0
  36. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/notebooks/p_subsample_data.py +0 -0
  37. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/notebooks/run_all_notebooks.py +0 -0
  38. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/notebooks/script_to_generate_eta_for_petsird.py +0 -0
  39. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/notebooks/t_CT_GEN3.ipynb +0 -0
  40. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/notebooks/t_CT_microct.ipynb +0 -0
  41. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/notebooks/t_GE_HDF5.ipynb +0 -0
  42. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/notebooks/t_PETGATE_DIP.ipynb +0 -0
  43. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/notebooks/t_PETGATE_LM.ipynb +0 -0
  44. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/notebooks/t_PETGATE_SINO.ipynb +0 -0
  45. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/notebooks/t_PETGATE_scat_lm.ipynb +0 -0
  46. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/notebooks/t_PETGATE_scat_lmTOF.ipynb +0 -0
  47. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/notebooks/t_PETGATE_scat_sino.ipynb +0 -0
  48. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/notebooks/t_PETGATE_scat_sinoTOF.ipynb +0 -0
  49. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/notebooks/t_PETSIRD.ipynb +0 -0
  50. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/notebooks/t_ac225_dicom_recon.ipynb +0 -0
  51. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/notebooks/t_ac225_simind_recon.ipynb +0 -0
  52. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/notebooks/t_algorithms.ipynb +0 -0
  53. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/notebooks/t_dicom_algorithms.ipynb +0 -0
  54. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/notebooks/t_dicomdata.ipynb +0 -0
  55. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/notebooks/t_dicommultibed.ipynb +0 -0
  56. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/notebooks/t_dualpeak.ipynb +0 -0
  57. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/notebooks/t_examplesystemmatrix.ipynb +0 -0
  58. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/notebooks/t_fbp.ipynb +0 -0
  59. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/notebooks/t_plotting.ipynb +0 -0
  60. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/notebooks/t_quantitative.ipynb +0 -0
  61. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/notebooks/t_siminddata.ipynb +0 -0
  62. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/notebooks/t_siminddata_multiorgan.ipynb +0 -0
  63. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/notebooks/t_uncertainty_spect.ipynb +0 -0
  64. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/usage/usage.rst +0 -0
  65. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/usage/usage_ct.rst +0 -0
  66. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/usage/usage_dev.rst +0 -0
  67. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/usage/usage_pet.rst +0 -0
  68. {pytomography-3.2.3 → pytomography-3.2.4}/docs/source/usage/usage_spect.rst +0 -0
  69. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/__init__.py +0 -0
  70. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/algorithms/__init__.py +0 -0
  71. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/algorithms/dip_recon.py +0 -0
  72. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/algorithms/fbp.py +0 -0
  73. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/algorithms/preconditioned_gradient_ascent.py +0 -0
  74. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/callbacks/__init__.py +0 -0
  75. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/callbacks/callback.py +0 -0
  76. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/callbacks/data_saving.py +0 -0
  77. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/data/NIST_attenuation_data/adipose.csv +0 -0
  78. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/data/NIST_attenuation_data/air.csv +0 -0
  79. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/data/NIST_attenuation_data/aluminum.csv +0 -0
  80. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/data/NIST_attenuation_data/bonecortical.csv +0 -0
  81. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/data/NIST_attenuation_data/boneequivplastic.csv +0 -0
  82. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/data/NIST_attenuation_data/breast.csv +0 -0
  83. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/data/NIST_attenuation_data/lead.csv +0 -0
  84. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/data/NIST_attenuation_data/lungtissue.csv +0 -0
  85. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/data/NIST_attenuation_data/muscle.csv +0 -0
  86. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/data/NIST_attenuation_data/tissueequivplastic.csv +0 -0
  87. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/data/NIST_attenuation_data/tungsten.csv +0 -0
  88. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/data/NIST_attenuation_data/water.csv +0 -0
  89. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/data/collim.col +0 -0
  90. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/data/ct_table.csv +0 -0
  91. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/data/pet_colors.txt +0 -0
  92. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/data/pet_scanner_info.txt +0 -0
  93. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/data/simind.smc +0 -0
  94. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/io/CT/__init__.py +0 -0
  95. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/io/CT/dicom_ct_pd.py +0 -0
  96. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/io/PET/__init__.py +0 -0
  97. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/io/PET/clinical.py +0 -0
  98. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/io/PET/gate.py +0 -0
  99. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/io/PET/petsird.py +0 -0
  100. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/io/PET/prd/__init__.py +0 -0
  101. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/io/PET/prd/_binary.py +0 -0
  102. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/io/PET/prd/_dtypes.py +0 -0
  103. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/io/PET/prd/_ndjson.py +0 -0
  104. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/io/PET/prd/binary.py +0 -0
  105. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/io/PET/prd/ndjson.py +0 -0
  106. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/io/PET/prd/protocols.py +0 -0
  107. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/io/PET/prd/types.py +0 -0
  108. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/io/PET/prd/yardl_types.py +0 -0
  109. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/io/PET/shared.py +0 -0
  110. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/io/SPECT/__init__.py +0 -0
  111. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/io/SPECT/attenuation_map.py +0 -0
  112. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/io/SPECT/dicom.py +0 -0
  113. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/io/SPECT/shared.py +0 -0
  114. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/io/SPECT/simind.py +0 -0
  115. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/io/__init__.py +0 -0
  116. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/io/shared/__init__.py +0 -0
  117. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/io/shared/dicom.py +0 -0
  118. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/io/shared/dicom_creation.py +0 -0
  119. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/io/shared/interfile.py +0 -0
  120. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/likelihoods/__init__.py +0 -0
  121. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/likelihoods/likelihood.py +0 -0
  122. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/likelihoods/mse_objective.py +0 -0
  123. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/likelihoods/poisson_log_likelihood.py +0 -0
  124. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/metadata/CT/__init__.py +0 -0
  125. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/metadata/CT/ct_conebeam_flatpanel_metadata.py +0 -0
  126. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/metadata/CT/ct_gen3_metadata.py +0 -0
  127. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/metadata/PET/__init__.py +0 -0
  128. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/metadata/PET/pet_sinogram_metadata.py +0 -0
  129. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/metadata/PET/pet_tof_metadata.py +0 -0
  130. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/metadata/PET/petlm_metadata.py +0 -0
  131. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/metadata/SPECT/__init__.py +0 -0
  132. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/metadata/SPECT/spect_metadata.py +0 -0
  133. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/metadata/__init__.py +0 -0
  134. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/metadata/metadata.py +0 -0
  135. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/priors/__init__.py +0 -0
  136. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/priors/nearest_neighbour.py +0 -0
  137. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/priors/prior.py +0 -0
  138. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/projectors/CT/__init__.py +0 -0
  139. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/projectors/CT/ct_conebeam_flatpanel_system_matrix.py +0 -0
  140. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/projectors/CT/ct_gen3_system_matrix.py +0 -0
  141. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/projectors/PET/__init__.py +0 -0
  142. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/projectors/PET/pet_sinogram_system_matrix.py +0 -0
  143. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/projectors/PET/petlm_system_matrix.py +0 -0
  144. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/projectors/SPECT/__init__.py +0 -0
  145. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/projectors/SPECT/spect_system_matrix.py +0 -0
  146. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/projectors/__init__.py +0 -0
  147. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/projectors/shared/__init__.py +0 -0
  148. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/projectors/shared/kem_system_matrix.py +0 -0
  149. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/projectors/shared/motion_correction_system_matrix.py +0 -0
  150. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/tests/test_multi_bed_recon.py +0 -0
  151. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/transforms/SPECT/__init__.py +0 -0
  152. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/transforms/SPECT/attenuation.py +0 -0
  153. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/transforms/SPECT/cutoff.py +0 -0
  154. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/transforms/SPECT/psf.py +0 -0
  155. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/transforms/__init__.py +0 -0
  156. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/transforms/shared/__init__.py +0 -0
  157. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/transforms/shared/filters.py +0 -0
  158. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/transforms/shared/kem.py +0 -0
  159. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/transforms/shared/motion.py +0 -0
  160. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/transforms/shared/spatial.py +0 -0
  161. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/transforms/transform.py +0 -0
  162. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/utils/__init__.py +0 -0
  163. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/utils/fourier_filters.py +0 -0
  164. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/utils/misc.py +0 -0
  165. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/utils/nist_data.py +0 -0
  166. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/utils/plot_utils.py +0 -0
  167. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/utils/scatter.py +0 -0
  168. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/utils/spatial.py +0 -0
  169. {pytomography-3.2.3 → pytomography-3.2.4}/src/pytomography/utils/sss.py +0 -0
@@ -1,11 +1,10 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pytomography
3
- Version: 3.2.3
3
+ Version: 3.2.4
4
4
  Summary: Package to perform tomographic image reconstruction
5
5
  Project-URL: Homepage, https://github.com/qurit/PyTomography
6
6
  Project-URL: Bug Tracker, https://github.com/qurit/PyTomography/issues
7
7
  Author-email: Luke Polson <lukepolson@outlook.com>
8
- License-File: LICENSE
9
8
  Classifier: License :: OSI Approved :: MIT License
10
9
  Classifier: Operating System :: OS Independent
11
10
  Classifier: Programming Language :: Python :: 3
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "pytomography"
7
- version = "3.2.3"
7
+ version = "3.2.4"
8
8
 
9
9
 
10
10
  authors = [
@@ -1,4 +1,5 @@
1
1
  from __future__ import annotations
2
+ from typing import Sequence
2
3
  import abc
3
4
  import torch
4
5
  import pytomography
@@ -202,6 +203,12 @@ class ExtendedSystemMatrix(SystemMatrix):
202
203
  ) -> torch.tensor:
203
204
  return self.system_matrices[0].get_projection_subset(projections, subset_idx)
204
205
 
206
+ def get_weighting_subset(
207
+ self,
208
+ subset_idx: int
209
+ ) -> torch.tensor:
210
+ return self.system_matrices[0].get_weighting_subset(subset_idx)
211
+
205
212
  def compute_normalization_factor(self, subset_idx: int | None = None):
206
213
  r"""Function called by reconstruction algorithms to get the normalization factor :math:`H' = \sum_n v_n^T \otimes A_n^T H_n^T B_n^T` 1.
207
214
 
File without changes
File without changes
File without changes
File without changes
File without changes