Skip to content

Commit

Permalink
fix: rmsip error
Browse files Browse the repository at this point in the history
  • Loading branch information
HeetVekariya committed Dec 22, 2023
1 parent 2d1d684 commit 59fb5e3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions package/MDAnalysis/analysis/pca.py
Original file line number Diff line number Diff line change
Expand Up @@ -632,9 +632,9 @@ def rmsip(self, other, n_components=None):
>>> second_interval = pca.PCA(u, select="backbone").run(start=25, stop=50)
>>> last_interval = pca.PCA(u, select="backbone").run(start=75)
>>> first_interval.rmsip(second_interval, n_components=3)
0.38147609331128324
0.3814760933112831
>>> first_interval.rmsip(last_interval, n_components=3)
0.17478244043688052
0.17478244043688054
See also
Expand Down Expand Up @@ -810,11 +810,11 @@ def rmsip(a, b, n_components=None):
>>> pca.rmsip(first_interval.results.p_components.T,
... second_interval.results.p_components.T,
... n_components=3)
0.38147609331128324
0.3814760933112831
>>> pca.rmsip(first_interval.results.p_components.T,
... last_interval.results.p_components.T,
... n_components=3)
0.17478244043688052
0.17478244043688054
.. versionadded:: 1.0.0
Expand Down

0 comments on commit 59fb5e3

Please sign in to comment.