Accept any size/shape for text files in angles_files/translations
In some spec-acquisitions (ID16A/B), scan range is 360 degrees but
- Projections cover the angular range [0, 360[
- One last projection at exactly 360 degrees is taken for alignment (not used for reconstruction)
NXTomomill currently takes this last projection as a valid one.
Besides, information on rotation angles is not always found.
For these reasons, a angles_files.txt
file has to be provided in the configuration file.
But this file is wrongfully expected to have N+1
values instead of N
.
Generally speaking, a more user-friendly behavior when reading these files should be to crop to the first N
useful values, and output a warning if more values than necessary are found.