Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.

Commit 4ee85e4

Browse files
committed
Docstring bug fixes.
1 parent bd409c7 commit 4ee85e4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

biosppy/signals/tools.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1186,11 +1186,11 @@ def synchronize(x=None, y=None, detrend=True):
11861186
def pearson_correlation(x=None, y=None):
11871187
"""Compute the Pearson Correlation Coefficient bertween two signals.
11881188
1189-
The coefficient if given by:
1189+
The coefficient is given by:
11901190
11911191
.. math::
11921192
1193-
r = \\frac{E[(X - \\mu_X) (Y - \\mu_Y)]}{\\sigma_X \\sigma_Y}
1193+
r_{xy} = \\frac{E[(X - \\mu_X) (Y - \\mu_Y)]}{\\sigma_X \\sigma_Y}
11941194
11951195
Parameters
11961196
----------
@@ -1248,7 +1248,7 @@ def pearson_correlation(x=None, y=None):
12481248
def rms_error(x=None, y=None):
12491249
"""Compute the Root-Mean-Square Error between two signals.
12501250
1251-
The error if given by:
1251+
The error is given by:
12521252
12531253
.. math::
12541254

0 commit comments

Comments
 (0)