From 2f3bec939ccbff744ab0869c8d741222f362baf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Robert?= Date: Sun, 24 Nov 2024 17:30:17 +0100 Subject: [PATCH] fixup! DEP: drop scipy as a hard dependency --- nonos/api/satellite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nonos/api/satellite.py b/nonos/api/satellite.py index 62551269..ee387a5f 100644 --- a/nonos/api/satellite.py +++ b/nonos/api/satellite.py @@ -52,7 +52,7 @@ def file_analysis( else: # fallback to numpy if scipy isn't available (less performant) for i, column in enumerate(columns): - columns[i] = np.convolve(column, np.ones_like(column), mode="valid") + columns[i] = np.convolve(column, Ntmean, mode="valid") else: raise NotImplementedError( f"moving average on {norb} orbits is not implemented for the recipe {recipe}"