UCL/STIR

max_num_non_arccorrected_bins default=0 now raises error

KrisThielemans opened this issue · 0 comments

This is the default

max_num_non_arccorrected_bins = 0;
default_num_arccorrected_bins = 0;

If the Interfile header does not contain the keyword, and does not recognise the originating system, we therefore raise an error

ERROR: ProjDataInfoCylindricalNoArcCorr: number of tangential positions exceeds the maximum number of non arc-corrected bins set for the scanner

It might make more sense to set it to the physically allowed maximum and write a warning. Due to interleaving, the max value is given by num_detectors_per_ring-1.