Skip to content

Commit 0f0ffc6

Browse files
Update _cwt.py
1 parent 746d569 commit 0f0ffc6

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

pywt/_cwt.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ def next_fast_len(n):
2424
return 2**ceil(np.log2(n))
2525

2626

27-
def cwt(data, scales, wavelet, sampling_period=1., method='conv', axis=-1, precision=12,
28-
*, hop_size=1):
27+
def cwt(data, scales, wavelet, sampling_period=1., method='conv', axis=-1, *, precision=12, hop_size=1):
2928
"""
3029
3130
One dimensional Continuous Wavelet Transform.
@@ -66,7 +65,7 @@ def cwt(data, scales, wavelet, sampling_period=1., method='conv', axis=-1, preci
6665
compute a bit slower. Too low will distort coefficients and their
6766
norms, with a zipper-like effect. The default is 12, it's recommended
6867
to use >=12.
69-
hop_size : int
68+
hop_size : int, optional
7069
Specifies the down-sampling factor applied on temporal axis during the transform.
7170
The output is sampled every hop size samples, rather than at every consecutive sample.
7271
For example:

0 commit comments

Comments
 (0)