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

Home » Public Forums » archive » Smooth and /EDGE_TRUNCATE
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: Smooth and /EDGE_TRUNCATE [message #88461 is a reply to message #88459] Tue, 29 April 2014 09:23 Go to previous message
Fabzi is currently offline  Fabzi
Messages: 305
Registered: July 2010
Senior Member
On 29.04.2014 18:04, David Fanning wrote:
> Not sure this "explains" it, but this section of the documentation might
> have at least saved you a couple of hours. :^)

OMG, "obvious" as allways. My opinion surely has absolutely no value,
but this means to me that the EDGE_* keywords are more than useless:
they are also dangerous.

Note, also, that CONVOL doesn't have this issue:

print, 'Convol', (convol(array, fltarr(3,3)+1./9, /NAN, $
/EDGE_TRUNCATE, /NORMALIZE))[2,2]

Produces the correct results.

Not for the future: "smooth" is ok for using on your last holiday's
picures, not for real data filtering ;)

Thanks dave!

Fabien
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Running this MATLAB code in IDL
Next Topic: Another "Array subscript for VECTOR must have same size as source expression." problem

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

Current Time: Thu Oct 09 14:55:17 PDT 2025

Total time taken to generate the page: 0.56242 seconds