I have the data sets, Data1 and Data2 like below:
The problem is that I want to figure out the time at which Data2 was sampled, i.e. Data2.t (there is at least 10 samples per period)
I was thinking of using something like
If I'm lucky I can find the
for each period "n" in both Data1.data and Data2.data with some peakfinder-function… and then cycle through all the recorded periods.
(I started writing this as a question but as I was writing I realised how I could approach the problem. So this post is mainly to help others)