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

Home » Public Forums » archive » Smooth function question
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 question [message #89420 is a reply to message #89419] Wed, 15 October 2014 06:29 Go to previous messageGo to previous message
Helder Marchetto is currently offline  Helder Marchetto
Messages: 520
Registered: November 2011
Senior Member
On Wednesday, October 15, 2014 3:11:05 PM UTC+2, zolile...@gmail.com wrote:
> Dear all,
>
> I got a 3D data. I applied a SMOOTH function like smooth(a,3), the plots look fine and when I print the number of elements on the screen are equal as the original data. But when wrote to a file I found that there is a missing element or number is not corresponding with original data. I checked using excel. I am a bit confused, I need some help. Any suggestion is very welcome,
>
> Thanks
>
> Zolile

Yes, smooth is not your problem.

IDL> a = randomu(s,100,100,100)
IDL> help, a
A FLOAT = Array[100, 100, 100]
IDL> help, smooth(a,3)
<Expression> FLOAT = Array[100, 100, 100]

Your problem is writing the data and/or reading the data. Without some code to look at, it's difficult to say.
Whatever, smooth() does not change the number of elements. At the edges "strange" things might happen, but no element is lost.

cheers, Helder
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL 8.4?
Next Topic: Re: cgimage - two images on the same window ?

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

Current Time: Sun Oct 12 00:01:29 PDT 2025

Total time taken to generate the page: 0.01055 seconds