Procrustes Analysis with NumPy?
I’m not aware of any pre-existing implementation in Python, but it’s easy to take a look at the MATLAB code using edit procrustes.m and port it to Numpy: def procrustes(X, Y, scaling=True, reflection=’best’): “”” A port of MATLAB’s `procrustes` function to Numpy. Procrustes analysis determines a linear transformation (translation, reflection, orthogonal rotation and scaling) of … Read more