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

Home » Public Forums » archive » Re: SMOOTH function for 3D
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 function for 3D [message #46404] Tue, 22 November 2005 10:16 Go to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
IDLmastertobe wrote:
> Thanks, but I also tried doing result = SMOOTH(3Darray,[3,3,3]) and I
> observe no difference. any ideas?

I don't mean to be rude, but how could anyone possibly answer your
question given so little information? SMOOTH works fine on 3d data. I
can easily observe a difference in the data:

IDL> x=randomu(s,3,3,3)*10.
IDL> print, x
7.79008 4.15141 7.48622
1.69548 6.31630 6.84862
7.00782 2.78159 7.85362

5.91996 0.659594 5.77286
8.38353 3.33698 9.03057
7.64424 0.474168 5.77164

3.62966 8.94523 4.11056
9.33464 1.19968 4.66864
5.79112 3.83709 1.43494
IDL> print, smooth(x,3,/edge)
5.31274 5.66250 6.01227
5.21623 5.58725 5.95827
5.11973 5.51200 5.90428

5.42783 5.47206 5.51628
5.41093 5.25468 5.09842
5.39403 5.03729 4.68056

5.54293 5.28162 5.02030
5.60563 4.92210 4.23857
5.66832 4.56258 3.45685

You could do something similar with your data to convince yourself that
SMOOTH is working. Then you would know that your problem lies elsewhere
and you could start looking for other possibilities.

-Rick
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: subscripting arrays
Next Topic: Re: lunch envi function in 'batch mode'

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

Current Time: Wed Oct 08 18:24:20 PDT 2025

Total time taken to generate the page: 0.00218 seconds