translations fail when used with half-acquisition
For a dataset with 10k projections, the translation_movements_file
expects 10k values in (x, z).
But once the HA sinogram is built, only 5k projections remain for the x-translations.
We end up with this error:
File ~/.venv/py38_ubuntu20_amd/lib/python3.8/site-packages/nabu/reconstruction/fbp.py:225, in Backprojector._set_axis_corr(self)
223 return
224 if len(axcorr) != self.n_angles:
--> 225 raise ValueError("Expected %d angles but got %d" % (self.n_angles, len(axcorr)))
226 self._axis_correction = np.zeros((1, self.n_angles), dtype=np.float32)
227 self._axis_correction[0, :] = axcorr[:]
ValueError: Expected 5001 angles but got 10001