Skip to content

Commit c120ad9

Browse files
committed
Fix doc string (closes #59).
1 parent 9469ca8 commit c120ad9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spectral/algorithms/algorithms.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1626,13 +1626,13 @@ def mnf(signal, noise):
16261626
>>> # De-noise the data by eliminating NAPC components where SNR < 10.
16271627
>>> # The de-noised data will be in the original coordinate space (at
16281628
>>> # full dimensionality).
1629-
>>> denoised = mnfr.denoise(snr=10)
1629+
>>> denoised = mnfr.denoise(data, snr=10)
16301630
16311631
>>> # Reduce dimensionality, retaining NAPC components where SNR >= 10.
1632-
>>> reduced = mnfr.reduce(snr=10)
1632+
>>> reduced = mnfr.reduce(data, snr=10)
16331633
16341634
>>> # Reduce dimensionality, retaining top 50 NAPC components.
1635-
>>> reduced = mnfr.reduce(num=50)
1635+
>>> reduced = mnfr.reduce(data, num=50)
16361636
16371637
References:
16381638

0 commit comments

Comments
 (0)