max_num_non_arccorrected_bins default=0 now raises error
KrisThielemans opened this issue · 0 comments
KrisThielemans commented
This is the default
STIR/src/IO/InterfileHeader.cxx
Lines 590 to 591 in 8ced2d7
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
.