Thanks for creating this useful repo! However the current implementation might indeed be missing a crucial step. A modification to add .sum(axis=0) at the end of the _rmsd function seems to align better with the RMSD formula.
This change would sum up the squared distances along the axis, which is necessary to compute the total squared deviation before taking the square root (which I assume happens elsewhere in the code).
Thanks for creating this useful repo! However the current implementation might indeed be missing a crucial step. A modification to add .sum(axis=0) at the end of the _rmsd function seems to align better with the RMSD formula.
This change would sum up the squared distances along the axis, which is necessary to compute the total squared deviation before taking the square root (which I assume happens elsewhere in the code).
$$ \text{RMSD} = \sqrt{\frac{1}{n} \sum_{i=1}^{n} | | x_i - y_i | | ^2} $$
current:
should be modified as