aprict 0.0.14__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.
- aprict-0.0.14/LICENSE.txt +14 -0
- aprict-0.0.14/LICENSE_GPLv3.txt +674 -0
- aprict-0.0.14/MANIFEST.in +2 -0
- aprict-0.0.14/PKG-INFO +323 -0
- aprict-0.0.14/README.md +285 -0
- aprict-0.0.14/pyproject.toml +74 -0
- aprict-0.0.14/setup.cfg +4 -0
- aprict-0.0.14/setup.py +67 -0
- aprict-0.0.14/src/aprict/__init__.py +47 -0
- aprict-0.0.14/src/aprict/cb/__init__.py +21 -0
- aprict-0.0.14/src/aprict/cb/_unused_old_fbp.py +113 -0
- aprict-0.0.14/src/aprict/cb/flatpanel.py +1169 -0
- aprict-0.0.14/src/aprict/cb/noop_filter.py +131 -0
- aprict-0.0.14/src/aprict/cb/ramp_filter.py +897 -0
- aprict-0.0.14/src/aprict/cb/ramp_filter_cpu.py +550 -0
- aprict-0.0.14/src/aprict/cuda/__init__.py +15 -0
- aprict-0.0.14/src/aprict/cuda/_generate_cusrc.py +152 -0
- aprict-0.0.14/src/aprict/cuda/dtype_cacher.py +79 -0
- aprict-0.0.14/src/aprict/cuda/header_injection.py +71 -0
- aprict-0.0.14/src/aprict/cuda/kern_structs.py +427 -0
- aprict-0.0.14/src/aprict/cuda/ptx_cacher.py +98 -0
- aprict-0.0.14/src/aprict/cuda/structs/FORBILD_volumes.py +610 -0
- aprict-0.0.14/src/aprict/cuda/structs/__init__.py +37 -0
- aprict-0.0.14/src/aprict/cuda/structs/base.py +291 -0
- aprict-0.0.14/src/aprict/cuda/structs/config_cb_backproject.py +76 -0
- aprict-0.0.14/src/aprict/cuda/structs/config_cb_project.py +42 -0
- aprict-0.0.14/src/aprict/cuda/structs/config_cb_project_FORBILD.py +43 -0
- aprict-0.0.14/src/aprict/cuda/structs/cu/FORBILD_Box.cu +78 -0
- aprict-0.0.14/src/aprict/cuda/structs/cu/FORBILD_ClipAxisSpec.cu +63 -0
- aprict-0.0.14/src/aprict/cuda/structs/cu/FORBILD_Cone.cu +71 -0
- aprict-0.0.14/src/aprict/cuda/structs/cu/FORBILD_Cone_x.cu +51 -0
- aprict-0.0.14/src/aprict/cuda/structs/cu/FORBILD_Cone_y.cu +51 -0
- aprict-0.0.14/src/aprict/cuda/structs/cu/FORBILD_Cone_z.cu +230 -0
- aprict-0.0.14/src/aprict/cuda/structs/cu/FORBILD_Cylinder.cu +122 -0
- aprict-0.0.14/src/aprict/cuda/structs/cu/FORBILD_Cylinder_x.cu +42 -0
- aprict-0.0.14/src/aprict/cuda/structs/cu/FORBILD_Cylinder_y.cu +42 -0
- aprict-0.0.14/src/aprict/cuda/structs/cu/FORBILD_Cylinder_z.cu +42 -0
- aprict-0.0.14/src/aprict/cuda/structs/cu/FORBILD_Ellipsoid.cu +50 -0
- aprict-0.0.14/src/aprict/cuda/structs/cu/FORBILD_Ellipsoid_free.cu +71 -0
- aprict-0.0.14/src/aprict/cuda/structs/cu/FORBILD_Ellipt_Cyl.cu +73 -0
- aprict-0.0.14/src/aprict/cuda/structs/cu/FORBILD_Ellipt_Cyl_x.cu +53 -0
- aprict-0.0.14/src/aprict/cuda/structs/cu/FORBILD_Ellipt_Cyl_y.cu +53 -0
- aprict-0.0.14/src/aprict/cuda/structs/cu/FORBILD_Ellipt_Cyl_z.cu +53 -0
- aprict-0.0.14/src/aprict/cuda/structs/cu/FORBILD_Shape.cu +665 -0
- aprict-0.0.14/src/aprict/cuda/structs/cu/FORBILD_Sphere.cu +81 -0
- aprict-0.0.14/src/aprict/cuda/structs/cu/__init__.py +15 -0
- aprict-0.0.14/src/aprict/cuda/structs/geometry.py +189 -0
- aprict-0.0.14/src/aprict/cuda/structs/test_subdir/__init__.py +17 -0
- aprict-0.0.14/src/aprict/cuda/structs/test_subdir/test_config.py +36 -0
- aprict-0.0.14/src/aprict/data/.gitignore +4 -0
- aprict-0.0.14/src/aprict/data/FORBILD/abdomen/AbdomenPhantom.pha +168 -0
- aprict-0.0.14/src/aprict/data/FORBILD/abdomen/AbdomenPhantom_fixed.pha +175 -0
- aprict-0.0.14/src/aprict/data/FORBILD/abdomen/TableOfTissues +34 -0
- aprict-0.0.14/src/aprict/data/FORBILD/abdomen/Wirbel.pha +28 -0
- aprict-0.0.14/src/aprict/data/FORBILD/custom_composite/Ribs.pha +223 -0
- aprict-0.0.14/src/aprict/data/FORBILD/custom_composite/Shoulders.pha +28 -0
- aprict-0.0.14/src/aprict/data/FORBILD/custom_composite/TableOfTissues +34 -0
- aprict-0.0.14/src/aprict/data/FORBILD/custom_composite/Vertebra.pha +26 -0
- aprict-0.0.14/src/aprict/data/FORBILD/custom_composite/part_01_hip.pha +248 -0
- aprict-0.0.14/src/aprict/data/FORBILD/custom_composite/part_02_abdomen.pha +168 -0
- aprict-0.0.14/src/aprict/data/FORBILD/custom_composite/part_03_thorax.pha +53 -0
- aprict-0.0.14/src/aprict/data/FORBILD/custom_composite/part_04_head.pha +776 -0
- aprict-0.0.14/src/aprict/data/FORBILD/custom_composite/part_05_jaw.pha +507 -0
- aprict-0.0.14/src/aprict/data/FORBILD/custom_other/rock_canister_01.pha +101500 -0
- aprict-0.0.14/src/aprict/data/FORBILD/custom_other/rock_canister_01_cavities_1e5.pha +10000 -0
- aprict-0.0.14/src/aprict/data/FORBILD/custom_other/unit_Cyl_z.pha +1 -0
- aprict-0.0.14/src/aprict/data/FORBILD/head/HeadPhantom.pha +776 -0
- aprict-0.0.14/src/aprict/data/FORBILD/head/TableOfTissues +34 -0
- aprict-0.0.14/src/aprict/data/FORBILD/hip/HipPhantom.pha +248 -0
- aprict-0.0.14/src/aprict/data/FORBILD/jaw/JawPhantom.pha +502 -0
- aprict-0.0.14/src/aprict/data/FORBILD/lungs/LungPhantom3Generations.pha +590 -0
- aprict-0.0.14/src/aprict/data/FORBILD/thorax/Ribs.pha +223 -0
- aprict-0.0.14/src/aprict/data/FORBILD/thorax/Shoulders.pha +28 -0
- aprict-0.0.14/src/aprict/data/FORBILD/thorax/TableOfTissues +34 -0
- aprict-0.0.14/src/aprict/data/FORBILD/thorax/ThoraxPhantom.pha +53 -0
- aprict-0.0.14/src/aprict/data/FORBILD/thorax/Vertebra.pha +26 -0
- aprict-0.0.14/src/aprict/data/README.txt +5 -0
- aprict-0.0.14/src/aprict/data/cusrc/CB_backproject.cu +833 -0
- aprict-0.0.14/src/aprict/data/cusrc/CB_backproject_sharedmem.cu +383 -0
- aprict-0.0.14/src/aprict/data/cusrc/CB_project_sharedmem.cu +324 -0
- aprict-0.0.14/src/aprict/data/cusrc/CB_project_texture_chunked.cu +616 -0
- aprict-0.0.14/src/aprict/data/cusrc/FORBILD_volumes.h +2081 -0
- aprict-0.0.14/src/aprict/data/cusrc/base.h +227 -0
- aprict-0.0.14/src/aprict/data/cusrc/config_cb_backproject.h +22 -0
- aprict-0.0.14/src/aprict/data/cusrc/config_cb_project.h +7 -0
- aprict-0.0.14/src/aprict/data/cusrc/config_cb_project_FORBILD.h +7 -0
- aprict-0.0.14/src/aprict/data/cusrc/geometry.h +93 -0
- aprict-0.0.14/src/aprict/data/cusrc/get_bboxes_FORBILD.cu +21 -0
- aprict-0.0.14/src/aprict/data/cusrc/ramlak_convolve.cu +102 -0
- aprict-0.0.14/src/aprict/data/cusrc/sample_FORBILD_volumes.cu +123 -0
- aprict-0.0.14/src/aprict/data/cusrc/test_kernel.cu +59 -0
- aprict-0.0.14/src/aprict/data/cusrc/test_subdir/test_config.h +5 -0
- aprict-0.0.14/src/aprict/data/cusrc/texture_operations.cu +344 -0
- aprict-0.0.14/src/aprict/examples/composite_human_sirt.py +418 -0
- aprict-0.0.14/src/aprict/examples/fan_beam_sirt.py +263 -0
- aprict-0.0.14/src/aprict/examples/helical_sirt.py +268 -0
- aprict-0.0.14/src/aprict/examples/lungs_sirt.py +315 -0
- aprict-0.0.14/src/aprict/examples/trajtest_A_sirt.py +270 -0
- aprict-0.0.14/src/aprict/examples/triangle_exp_fb.py +468 -0
- aprict-0.0.14/src/aprict/gbc/__init__.py +19 -0
- aprict-0.0.14/src/aprict/gbc/filters.py +558 -0
- aprict-0.0.14/src/aprict/gbc/weightinteg.py +174 -0
- aprict-0.0.14/src/aprict/image_view.py +165 -0
- aprict-0.0.14/src/aprict/iterators/__init__.py +19 -0
- aprict-0.0.14/src/aprict/iterators/landweber_vram.py +265 -0
- aprict-0.0.14/src/aprict/iterators/sirt_vram.py +157 -0
- aprict-0.0.14/src/aprict/lib/__init__.py +27 -0
- aprict-0.0.14/src/aprict/lib/argparse_tools.py +221 -0
- aprict-0.0.14/src/aprict/lib/bboxes_FORBILD.py +97 -0
- aprict-0.0.14/src/aprict/lib/click_tools.py +214 -0
- aprict-0.0.14/src/aprict/lib/empty_context_manager.py +26 -0
- aprict-0.0.14/src/aprict/lib/gpu_tools.py +248 -0
- aprict-0.0.14/src/aprict/lib/import_tools.py +32 -0
- aprict-0.0.14/src/aprict/lib/lds.py +495 -0
- aprict-0.0.14/src/aprict/lib/ne_tools.py +234 -0
- aprict-0.0.14/src/aprict/lib/ng_tools.py +162 -0
- aprict-0.0.14/src/aprict/lib/np_tools.py +29 -0
- aprict-0.0.14/src/aprict/lib/process_pha_file.py +388 -0
- aprict-0.0.14/src/aprict/lib/sample_FORBILD.py +170 -0
- aprict-0.0.14/src/aprict/lib/texture_tools/__init__.py +19 -0
- aprict-0.0.14/src/aprict/lib/texture_tools/operations.py +500 -0
- aprict-0.0.14/src/aprict/lib/texture_tools/texture.py +331 -0
- aprict-0.0.14/src/aprict/liveplot.py +221 -0
- aprict-0.0.14/src/aprict/logtools/__init__.py +20 -0
- aprict-0.0.14/src/aprict/logtools/config.py +173 -0
- aprict-0.0.14/src/aprict/logtools/pbar.py +182 -0
- aprict-0.0.14/src/aprict/logtools/pbar_tqdm.py +100 -0
- aprict-0.0.14/src/aprict/logtools/rich_custombar.py +183 -0
- aprict-0.0.14/src/aprict/phantoms/FORBILD_phantoms.py +999 -0
- aprict-0.0.14/src/aprict/phantoms/__init__.py +24 -0
- aprict-0.0.14/src/aprict/ramp_kernels.py +98 -0
- aprict-0.0.14/src/aprict/scripts/cli.py +121 -0
- aprict-0.0.14/src/aprict/scripts/make_geometry_cone_cyl.py +305 -0
- aprict-0.0.14/src/aprict/scripts/make_geometry_fan_circ.py +270 -0
- aprict-0.0.14/src/aprict/scripts/neuroglance.py +77 -0
- aprict-0.0.14/src/aprict/scripts/project_cbfp.py +493 -0
- aprict-0.0.14/src/aprict/scripts/recon_cbfp_cyl_fbp.py +894 -0
- aprict-0.0.14/src/aprict/scripts/recon_cbfp_cyl_gbc.py +954 -0
- aprict-0.0.14/src/aprict/scripts/recon_cbfp_landweber.py +577 -0
- aprict-0.0.14/src/aprict/tests/__init__.py +16 -0
- aprict-0.0.14/src/aprict/tests/cuda_kernels/__init__.py +16 -0
- aprict-0.0.14/src/aprict/tests/cuda_kernels/test_backproject_cb.py +552 -0
- aprict-0.0.14/src/aprict/tests/cuda_kernels/test_cusrc/__init__.py +16 -0
- aprict-0.0.14/src/aprict/tests/cuda_kernels/test_kernel_structs.py +163 -0
- aprict-0.0.14/src/aprict/tests/cuda_kernels/test_project_cb.py +662 -0
- aprict-0.0.14/src/aprict/tests/cuda_kernels/test_project_cb_FORBILD_phantoms.py +205 -0
- aprict-0.0.14/src/aprict/tests/cuda_kernels/test_project_cb_FORBILD_shapes.py +877 -0
- aprict-0.0.14/src/aprict/tests/test_FORBILD_lungs_construction.py +64 -0
- aprict-0.0.14/src/aprict/tests/test_volume.py +70 -0
- aprict-0.0.14/src/aprict/version.py +19 -0
- aprict-0.0.14/src/aprict/volume.py +811 -0
- aprict-0.0.14/src/aprict.egg-info/PKG-INFO +323 -0
- aprict-0.0.14/src/aprict.egg-info/SOURCES.txt +155 -0
- aprict-0.0.14/src/aprict.egg-info/dependency_links.txt +1 -0
- aprict-0.0.14/src/aprict.egg-info/entry_points.txt +9 -0
- aprict-0.0.14/src/aprict.egg-info/requires.txt +22 -0
- aprict-0.0.14/src/aprict.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1,14 @@
|
|
|
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/>.
|