[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug in IDL's hanning() window-generating function
- Subject: Re: bug in IDL's hanning() window-generating function
- From: david(at)dfanning.com (David Fanning)
- Date: Wed, 1 Aug 2001 06:20:01 -0600
- Newsgroups: comp.lang.idl-pvwave
- Organization: Fanning Software Consulting
- References: <9k8dt6$fki$1@news.orst.edu>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:25932
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?
Cheers,
David
--
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