local2global.utils.procrustes_error

procrustes_error(coordinates1, coordinates2)[source]

compute the procrustes alignment error between two sets of coordinates

Parameters
  • coordinates1 – First set of coordinates (array-like)

  • coordinates2 – Second set of coordinates (array-like)

Note that the two sets of coordinates need to have the same shape.