diff --git a/sfy-processing/sfy/xr.py b/sfy-processing/sfy/xr.py index 162e0694..a468ab29 100644 --- a/sfy-processing/sfy/xr.py +++ b/sfy-processing/sfy/xr.py @@ -99,7 +99,7 @@ def stat(zz, yy, xx): if np.any(np.isnan(zz)): logger.warning(f'NaN values in signal, spectra is set to NaN') a = np.full((4096 // 2 + 1, ), np.nan) - return np.nan, np.nan, np.nan, np.nan, np.nan, np.nan, np.nan, np.nan, np.nan, np.nan, a, a, a, a + return np.nan, np.nan, np.nan, np.nan, np.nan, np.nan, np.nan, np.nan, np.nan, np.nan, a, np.nan, a, a, a f, Pz = signal.welch(freq, zz, nperseg, order) f, Py = signal.welch(freq, yy, nperseg, order)