Re: SMOOTH [message #9347 is a reply to message #7837] |
Fri, 20 June 1997 00:00  |
pit
Messages: 92 Registered: January 1996
|
Member |
|
|
In article <33A960A1.17B7@astrosun.tn.cornell.edu>,
JD Smith <jdsmith@astrosun.tn.cornell.edu> writes:
> In my case, I was smoothing a positive definite
> image, and the smoothed image contained bands of negative values! I
> think arrays which contain a wide dynamic range of values are most
> susceptible. Converting to double precision seems to solve the problem,
Maybe it's an overflow like in
IDL> print,32767+10
-32759
Shure this would be a bug, but it explains the behaviour
Peter
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~
Peter "Pit" Suetterlin http://www.uni-sw.gwdg.de/~pit
Universitaets-Sternwarte Goettingen
Tel.: +49 551 39-5048 pit@uni-sw.gwdg.de
-- * -- * ...-- * -- * ...-- * -- * ...-- * -- * ...-- * -- * ...-- * --
Come and see the stars! http://www.kis.uni-freiburg.de/~ps/SFB
Sternfreunde Breisgau e.V. Tel.: +49 7641 3492
____________________________________________________________ ______________
|
|
|