From ae84664a1a12719bae3ce03ed796a14619fae4fe Mon Sep 17 00:00:00 2001 From: Chaithya G R Date: Mon, 8 Jan 2024 11:46:00 +0100 Subject: [PATCH] Update wavelet.py Move to float64 to have compatibility with latest numpy --- astro/denoising/wavelet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/astro/denoising/wavelet.py b/astro/denoising/wavelet.py index 86af0a2..fa3ba7f 100644 --- a/astro/denoising/wavelet.py +++ b/astro/denoising/wavelet.py @@ -79,7 +79,7 @@ def decompose(data, n_scales=4): trans.data = data trans.analysis() - res = np.array(trans.analysis_data, dtype=np.float) + res = np.array(trans.analysis_data, dtype=np.float64) return res