Re: SMOOTH not smoothing... [message #83870] |
Thu, 11 April 2013 07:20 |
Matthew Argall
Messages: 286 Registered: October 2011
|
Senior Member |
|
|
> What do you think a boxcar smoothing algorithm is suppose to do?
Ohhh... Hahaha. That is funny. I guess exactly what it is doing now :-p
|
|
|
Re: SMOOTH not smoothing... [message #83871 is a reply to message #83870] |
Thu, 11 April 2013 07:15  |
dplatten
Messages: 32 Registered: December 2007
|
Member |
|
|
Hi Matthew,
You might find this to be a little more reassuring:
a = RANDOMU(5L, 10)
print, a
print, SMOOTH(a, 3)
Your original array was already perfectly smooth, so SMOOTH had no effect.
Regards,
David
|
|
|
Re: SMOOTH not smoothing... [message #83873 is a reply to message #83871] |
Thu, 11 April 2013 06:57  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Matthew Argall writes:
> The SMOOTH function does not seem to be smoothing anything for me. Am I missing something?
>
> IDL> print, smooth(findgen(10), 3)
> 0.00000 1.00000 2.00000 3.00000 4.00000 5.00000 6.00000 7.00000 8.00000 9.00000
What do you think a boxcar smoothing algorithm is suppose to do?
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
|
|
|