angular_integration_weights#

diffct.analytical.angular_integration_weights(angles, redundant_full_scan=True)[source]#

Trapezoidal per-view integration weights for the analytical FBP/FDK sum.

For a full 2*pi scan, each redundant ray is sampled twice so the classical FBP/FDK formula carries a 1/2 redundancy factor. When redundant_full_scan=True (the default) this factor is baked into the returned weights: they sum to pi over a uniform full scan, which is exactly what a voxel-driven gather backprojector with the (sid/U)^2 weight needs to produce a unit-amplitude reconstruction.

Short scans retain their actual angular range; the Parker window handles their redundancy at the sinogram-filtering stage. Leave redundant_full_scan=True for automatic fan/cone scan classification. Setting it to False explicitly disables the full-turn 1/2 factor. Parker and angular quadrature share the same periodic-scan decision. FP16 and BF16 angles are promoted to FP32; FP64 angles retain their precision.