Error in alignment.py DetectorTranslationAlongBeam
find_shifts returns an error when testing on the following set of data: /data/id19/inhouse/nemoz/align Here it is:
lbs051:/sware/exp/scisoft/p_cn % python alignxc.py
Traceback (most recent call last):
File "alignxc.py", line 80, in
yy, xx = cor.find_shift(radios, xc_positions)
File "/nobackup/lbs0511/tomwer/0_5/orange3venv/lib/python3.7/site-packages/nabu/preproc/alignment.py", line 655, in find_shift
f_vals = cc[pv, ph]
IndexError: index 2048 is out of bounds for axis 0 with size 2048
Edited by Christian Nemoz