[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug in IDL's hanning() window-generating function

Scott Bennett writes after a long analysis of the Hanning function:

>      In any case, I think the point Harris made is that a discrete
> sampling of a window function should not taper to the same value at
> the end that it has at the beginning because to do so would include
> the first sample of the *next* period (windowed segment.)  So IDL's
> hanning() gets it wrong for both even- and odd-length windows. :-(  

Uh, huh. And how did RSI respond when you contacted them 
about it?


David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155