constant time cadence [message #94361] |
Thu, 20 April 2017 03:39  |
gunvicsin11
Messages: 93 Registered: November 2012
|
Member |
|
|
Hi all,
I have a set of data with time cadence of 6s , 7s , 8s sometimes 11s, 80s, 300s like that. But I want them to be of constant 360s time cadence. How can I do that, anybody have idea.
thanks
|
|
|
|
|
Re: constant time cadence [message #94364 is a reply to message #94361] |
Thu, 20 April 2017 05:58   |
lecacheux.alain
Messages: 325 Registered: January 2008
|
Senior Member |
|
|
Le jeudi 20 avril 2017 12:39:19 UTC+2, sid a écrit :
> Hi all,
> I have a set of data with time cadence of 6s , 7s , 8s sometimes 11s, 80s, 300s like that. But I want them to be of constant 360s time cadence. How can I do that, anybody have idea.
> thanks
new_data = INTERPOLATE(data, INTERPOL(dindgen(times.length), times, new_times)
|
|
|
Re: constant time cadence [message #94365 is a reply to message #94361] |
Thu, 20 April 2017 05:59   |
lecacheux.alain
Messages: 325 Registered: January 2008
|
Senior Member |
|
|
Le jeudi 20 avril 2017 12:39:19 UTC+2, sid a écrit :
> Hi all,
> I have a set of data with time cadence of 6s , 7s , 8s sometimes 11s, 80s, 300s like that. But I want them to be of constant 360s time cadence. How can I do that, anybody have idea.
> thanks
new_data = INTERPOLATE(data, INTERPOL(dindgen(times.length), times, new_times))
|
|
|
Re: constant time cadence [message #94366 is a reply to message #94361] |
Fri, 21 April 2017 00:21   |
gunvicsin11
Messages: 93 Registered: November 2012
|
Member |
|
|
On Thursday, April 20, 2017 at 4:09:19 PM UTC+5:30, sid wrote:
> Hi all,
> I have a set of data with time cadence of 6s , 7s , 8s sometimes 11s, 80s, 300s like that. But I want them to be of constant 360s time cadence. How can I do that, anybody have idea.
> thanks
Thanks everyone for the help, But I dont want to do interpolation. Its ok if I have approximately 360s. I need to addup the time cadence and bring to approximately 360s. How can I do this automatically.
|
|
|
|