Re: INTERPOLATE Function [message #80395] |
Wed, 06 June 2012 14:33 |
lecacheux.alain
Messages: 325 Registered: January 2008
|
Senior Member |
|
|
On 6 juin, 22:17, laurisilla <laurisi...@gmail.com> wrote:
> Basically, what I want to do is fill in gaps in my time series. I´ve got an array of temperatures with some blank spaces that I want to fill.
>
> Which method will be the best?
> --http://compgroups.net/comp.lang.idl-pvwave/interpolate-fun ction/1118866
>
>
A simple method would be:
w = where(data ne 0)
interpolated_data = interpol(data[w], w, lindgen(N_elements(data)))
alx.
|
|
|
RE: INTERPOLATE Function [message #80396 is a reply to message #80395] |
Wed, 06 June 2012 13:17  |
laurisilla
Messages: 9 Registered: June 2012
|
Junior Member |
|
|
Basically, what I want to do is fill in gaps in my time series. I´ve got an array of temperatures with some blank spaces that I want to fill.
Which method will be the best?
--http://compgroups.net/comp.lang.idl-pvwave/interpolate-fun ction/1118866
|
|
|