comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Bug in IDL {alpha OSF unix 4.0.1} SMOOTH()
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Bug in IDL {alpha OSF unix 4.0.1} SMOOTH() [message #7469 is a reply to message #7468] Tue, 19 November 1996 00:00 Go to previous message
steinhh is currently offline  steinhh
Messages: 260
Registered: June 1994
Senior Member
> For some reason, the smoothing introduces non-zero values in the result array along
> one column, and I cannot understand why..

Here I go, following up my post after only a few minutes... I just realized that SMOOTH
is probably using some kind of FFT convolution to perform the smoothing operation,
even though the /edge_truncate was set. With fourier transforms back and forth, (numerical)
errors of this magnitude are not uncommon, one should even *expect* them (and therefore
treat the results with care, like checking "smooth(...) gt 1e-3" rather than "... gt 0").

So, it's a *feature*, not a bug, I guess :-)

Funny thing, what tipped me off was that when I rewrote my program to use CONVOL instead
of SMOOTH, the speed went way down.

Stein Vidar H. Haugan
[Message index]
 
Read Message
Read Message
Previous Topic: >>> ARE YOU READY FOR LOVE? <<<
Next Topic: Re: Phase Unwrapping Algorithms?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 12:23:41 PDT 2025

Total time taken to generate the page: 0.00870 seconds