Re: Rebin or interpolate to resample data [message #90685 is a reply to message #90681] |
Thu, 26 March 2015 10:39   |
zolile mtumela
Messages: 50 Registered: September 2011
|
Member |
|
|
On Thursday, March 26, 2015 at 12:38:50 PM UTC+2, zolile...@gmail.com wrote:
> Dear All
>
> I would like to get help and suggestion. I have the kind of the ff data
> for date, time, Vth, np, componts
> 06-10-2006 18:01:29.792 21.1418 9.74535 13028.9
> 06-10-2006 18:03:07.441 21.6775 10.0489 13029
> 06-10-2006 18:04:45.089 21.7285 9.97453 13028.9
> 06-10-2006 18:06:22.738 22.132 10.11 13029
> 06-10-2006 18:08:00.386 22.1387 10.3035 13028.9
> 06-10-2006 18:09:38.035 22.8853 10.5292 13028.9
> 06-10-2006 18:11:09.574 23.767 11.1701 6925.9
> 06-10-2006 18:12:56.382 23.2873 10.1314 1302
>
> I cannt findout the correct time resolution and I would like to change the current time resolution to 60s.
>
> I have tried rebin and interpolate. I can have the number of points I can with other components but It is correct beacuse I failed to change real time to a new time with 60s time resolution
>
> I hv tried somethimg like this
>
> Newvth = interpolate(vth, 3./11.*Findgen(240))
>
> Any help will be highly appreciated, thank you in advance for your time.
>
> Zolile
This is a four hour data,
I tried to use congrid like this
data = congrid(vx_array, 240,/center, cubic=-0.5)
I know in four hour with a time resolution of 60s, we suppose to get 240 number of points.
So with time, I am really struggling, Can u help plz
Many thanks
|
|
|