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*piscan, each redundant ray is sampled twice so the classical FBP/FDK formula carries a1/2redundancy factor. Whenredundant_full_scan=True(the default) this factor is baked into the returned weights: they sum topiover a uniform full scan, which is exactly what a voxel-driven gather backprojector with the(sid/U)^2weight 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=Truefor automatic fan/cone scan classification. Setting it toFalseexplicitly disables the full-turn1/2factor. Parker and angular quadrature share the same periodic-scan decision. FP16 and BF16 angles are promoted to FP32; FP64 angles retain their precision.