helical_view_weights#

diffct.reconstruction.helical_view_weights(angles, source_z, slice_z)[source]#

Return (slices,views) weights for complete slice-centered turns.

angles are strictly monotone, unwrapped radians; source_z is the corresponding strictly monotone source height, with at least two samples. slice_z holds physical slice centers. Reversed acquisitions are valid. Interpolate the angle at each height, then integrate angular sample cells over the centered 2*pi interval. Weights include the half redundancy factor and sum to pi. Missing coverage raises instead of renormalizing. These acquisition coordinates are fixed; learn replacement weights instead.