dsp/window: use half offset to exclude flanking zeros

This commit is contained in:
Dan Kortschak
2020-02-20 19:30:39 +10:30
committed by GitHub
parent 43ba13d1a9
commit efc4dabf2a
6 changed files with 245 additions and 320 deletions

View File

@@ -40,4 +40,9 @@
//
// The ɣ_max parameter is the maximum level of the side lobes of the
// normalized spectrum, in decibels.
//
// Window interval
//
// The window intervals used in the window functions are offset by a half
// to ensure that the window extends to exclude the flanking zeros.
package window // import "gonum.org/v1/gonum/dsp/window"