Integration for x minutes in a timeseries
Hi everyone,
I have two dataset that I will like to compare but they were taken under different conditions.
Dataset A is a timeseries of concentration (y-wave) against time (x-wave), where a data point was taken every 30 seconds.
Dataset B is also a concentration against time but the data was summed up over 5 minutes and taken every 4 hours for one-half of the time and 3 hours for the second half.
The best strategy I can come up with for comparing is to integrate dataset A for 5 minutes through the timeseries
I want to note that I am not looking to do a rolling average, so I want the integrated sum for each of the 5-minute block. For example, 16:00 to 16:05 should output a y-value, and 16:06 to 16:10 should be integrated to output another y-value that is independent of the previous value. For each y-value, x = the integration start time.
Is there an in-built procedure/macro in Igor that can help me do this? I am familiar with rolling averages but not integration. Happy to clarify any questions!
Thank you.
> Is there an in-built procedure/macro in Igor that can help me do this?
Look for command help on the area function and the Integrate operation.
September 23, 2024 at 01:29 pm - Permalink
October 11, 2024 at 12:30 pm - Permalink