local2global.utils.relative_orthogonal_transform

relative_orthogonal_transform(coordinates1, coordinates2)[source]

Find the best orthogonal transformation aligning two sets of coordinates for the same nodes

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.