This logic is commonly used before determining the euler angles of class sums. Its purpose is to perform a sensitive mass centering of the class sums based on radon transformation. Usage of this algorithm improves common line finding during the consecutive reconstruction process.

Input Description
Input Class sums in real space
Output Description
Output Mass centered class sums in real space
New/Changed Header Values Description
Error √(xVariance+ yVariance) of the given class sum, based on before and after the performed shifts, so basically 2D standard deviation. If no shifts have been performed, the error will be 0.

Theory about the general theory of radon aligning can be found here