Skip to content

Commit 3d50f75

Browse files
committed
tweak to check failing tests
1 parent 4a8a066 commit 3d50f75

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gempy/library/peak_finding.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ def find_wavelet_peaks(data, widths=None, mask=None, variance=None, min_snr=1, m
681681
# the width and 1.0^ + 0.75^2 = 1.25^2).
682682
snr = np.divide(wavelet_transformed_data[0], np.sqrt(variance),
683683
out=np.zeros_like(data, dtype=np.float32),
684-
where=variance > 0) * 1.25
684+
where=variance > 0) * np.sqrt(2)
685685

686686
peaks = [x for x in peaks if snr[x] > min_snr]
687687

0 commit comments

Comments
 (0)