From 2aac581c27e5936b867e6e7f1dd89afed14085a9 Mon Sep 17 00:00:00 2001 From: DetectiveKiwi Date: Mon, 6 Nov 2023 03:59:37 +0000 Subject: [PATCH] Removed some old code that was commented out --- nsdmd/nsdmd.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/nsdmd/nsdmd.py b/nsdmd/nsdmd.py index ae12125..c4fe65e 100644 --- a/nsdmd/nsdmd.py +++ b/nsdmd/nsdmd.py @@ -477,9 +477,6 @@ def _opt_dmd_win(self, x, t, guess=None): phis : complex spatial modes with shape (number of windows, rank, number of channels) windows : exact windows used, for testing purposes """ - # windows = np.array( - # [np.arange(i, i + self.w_len) for i in np.arange(0, x.shape[-1] - self.w_len + 1, self.stride)] - # ) windows = [np.arange(i, i + self.w_len) for i in np.arange(0, x.shape[-1] - self.w_len + 1, self.stride)] if windows[-1][-1]!=x.shape[-1]-1: warnings.warn(