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

Home » Public Forums » archive » Rebin or interpolate to resample data
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Rebin or interpolate to resample data [message #90681] Thu, 26 March 2015 03:38 Go to next message
zolile mtumela is currently offline  zolile mtumela
Messages: 50
Registered: September 2011
Member
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
Re: Rebin or interpolate to resample data [message #90685 is a reply to message #90681] Thu, 26 March 2015 10:39 Go to previous messageGo to next message
zolile mtumela is currently offline  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
Re: Rebin or interpolate to resample data [message #90710 is a reply to message #90685] Wed, 01 April 2015 10:50 Go to previous message
Jeremy Bailin is currently offline  Jeremy Bailin
Messages: 618
Registered: April 2008
Senior Member
On Thursday, March 26, 2015 at 12:40:03 PM UTC-5, zolile...@gmail.com wrote:
> 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

I don't think it's clear enough to us what exactly you have and what you want to transform it into.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Can Timer interrupt widget callbacks?
Next Topic: cgBlendImage, more than 2 images?

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

Current Time: Wed Oct 08 09:19:31 PDT 2025

Total time taken to generate the page: 0.00357 seconds