Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

max_num_non_arccorrected_bins default=0 now raises error #1402

Open
KrisThielemans opened this issue Mar 25, 2024 · 0 comments
Open

max_num_non_arccorrected_bins default=0 now raises error #1402

KrisThielemans opened this issue Mar 25, 2024 · 0 comments
Assignees

Comments

@KrisThielemans
Copy link
Collaborator

KrisThielemans commented Mar 25, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant