I've figured out how to import the date/time data, and I'm now trying to scale another wave based on that date/time, as the data is not completely regularly spaced (so change wave scaling/start end time or delta doesn't work). Is there a way to do this?
I'm now trying to scale another wave based on that date/time
I'm not sure what you mean by this. If you mean "create a waveform from an XY pair for which the data/time data provides the X values", you can do this using Analysis->Interpolate or the interp function.
I have fish swimming data from an accelerometer, which is acceleration values from 3 axes, and a time. I need to create a wave from each axis that links the time with the corresponding acceleration value to do ethograms. I can't use the setscale (start/end or start/interval) to do this because the sampling intervals aren't totally uniform.
I need to create a wave from each axis that links the time with the corresponding acceleration
If I understand, I would translate this into Igor terminology as: You have Y1a, Y2a, Y3a vs X where X is unevenly-spaced time. You want to create Y1b, Y2b, Y3b where the time is represented by the X scaling of the waves.
In that case, the answer is the same. You can use Analysis->Interpolate or the interp function.
For details execute:
DisplayHelpTopic"Converting XY Data to a Waveform" DisplayHelpTopic"Interpolate XOP"
I have fish swimming data from an accelerometer, which is acceleration values from 3 axes, and a time. I need to create a wave from each axis that links the time with the corresponding acceleration value to do ethograms. I can't use the setscale (start/end or start/interval) to do this because the sampling intervals aren't totally uniform.
Thanks for your help.
Alternatively, you can work with nonuniformly spaced waves in Igor. Your acceleration waves are already "linked" to the time wave by the point scaling inherent to Igor's data model. For example, the 10th point in each acceleration wave corresponds to the 10th time point in the time wave. You can plot your acceleration waves versus the time wave. Using the New Graph dialog, select any or all acceleration waves as the Y waves and select the time wave as the X wave.
Hope I've read your question/description correctly.
For info on XY data, type in the command line: DisplayHelpTopic "The XY Model of Data"
September 28, 2012 at 06:54 pm - Permalink
I'm not sure what you mean by this. If you mean "create a waveform from an XY pair for which the data/time data provides the X values", you can do this using Analysis->Interpolate or the interp function.
September 28, 2012 at 08:25 pm - Permalink
September 30, 2012 at 04:55 pm - Permalink
The things I recommended, Analysis->Interpolate or the interp function, don't overwrite unless you tell them to.
I'm not sure exactly what you want to do or why (what your ultimate goal is). Please restate it with more details.
September 30, 2012 at 06:59 pm - Permalink
Thanks for your help.
October 1, 2012 at 07:32 am - Permalink
If I understand, I would translate this into Igor terminology as: You have Y1a, Y2a, Y3a vs X where X is unevenly-spaced time. You want to create Y1b, Y2b, Y3b where the time is represented by the X scaling of the waves.
In that case, the answer is the same. You can use Analysis->Interpolate or the interp function.
For details execute:
DisplayHelpTopic "Interpolate XOP"
October 1, 2012 at 08:58 am - Permalink
Alternatively, you can work with nonuniformly spaced waves in Igor. Your acceleration waves are already "linked" to the time wave by the point scaling inherent to Igor's data model. For example, the 10th point in each acceleration wave corresponds to the 10th time point in the time wave. You can plot your acceleration waves versus the time wave. Using the New Graph dialog, select any or all acceleration waves as the Y waves and select the time wave as the X wave.
Hope I've read your question/description correctly.
For info on XY data, type in the command line: DisplayHelpTopic "The XY Model of Data"
October 1, 2012 at 12:31 pm - Permalink