Skip to content

Commit b65662f

Browse files
authored
Merge pull request #502 from lukemcraig/patch-1
fix docstring's scale2frequency parameter order
2 parents 69b649a + 36843c5 commit b65662f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pywt/_cwt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def cwt(data, scales, wavelet, sampling_period=1.):
1919
Input signal
2020
scales : array_like
2121
The wavelet scales to use. One can use
22-
``f = scale2frequency(scale, wavelet)/sampling_period`` to determine
22+
``f = scale2frequency(wavelet, scale)/sampling_period`` to determine
2323
what physical frequency, ``f``. Here, ``f`` is in hertz when the
2424
``sampling_period`` is given in seconds.
2525
wavelet : Wavelet object or name

0 commit comments

Comments
 (0)