Revert "dsp/window: use half offset to exclude flanking zeros"

This reverts efc4dabf2a

The reason for the reversion is confusion caused between different
approaches for window sizing and ease of use.
This commit is contained in:
Dan Kortschak
2020-09-12 19:18:12 +09:30
parent 1839007961
commit 7dc1a8963b
5 changed files with 127 additions and 131 deletions

View File

@@ -40,11 +40,6 @@
//
// 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"
// The article at http://www.dsplib.ru/content/win/win.html is the origin