We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e1567c commit 47b672dCopy full SHA for 47b672d
examples/plot_sliding.py
@@ -29,12 +29,14 @@
29
###############################################################################
30
# Let's start by creating a 1-dimensional array of size :math:`n_t` and create
31
# a sliding operator to compute its transformed representation.
32
-nwins = 4
+
33
+# sliding window parameters
34
nwin = 26
35
nover = 3
36
nop = 64
-dimd = nwin * nwins - 3 * nover
37
38
+# length of input signal (chosen to ensure perfect match with sliding windows)
39
+dimd = 95
40
t = np.arange(dimd) * 0.004
41
data = np.sin(2 * np.pi * 20 * t)
42
0 commit comments