parker_weights#
- diffct.analytical.parker_weights(angles, num_detectors, detector_spacing, sdd, detector_offset=0.0)[source]#
Parker redundancy weights for a circular fan-beam short scan.
The formula follows Parker (1982): each ray at view
betaand fan anglegammais weighted by a smooth window that guarantees every ray contributes exactly once when integrated over the scan. For a full2*piscan this returns a constant1tensor (the usual redundancy1/2factor lives inangular_integration_weightsinstead).Only meaningful for circular (fan-shaped) trajectories — when using non-circular trajectories you typically want either a constant weight (full-coverage) or a custom redundancy scheme. FP16 and BF16 angles are promoted to FP32; FP64 angles retain their precision.