def rmsd(ref_cds, est_cds):
    """
    Root-mean-squared-difference
    """
    ref_dists = pdist(ref_cds)
    est_dists = pdist(est_cds)
    return np.sqrt(((ref_dists - est_dists)**2).mean())
def rmsd ( ref_cds , est_cds ) : ref_dists = pdist ( ref_cds ) est_dists = pdist ( est_cds ) return np . sqrt ( ( ( ref_dists - est_dists ) ** 2 ) . mean ( ) )
Root-mean-squared-difference