frankzappa
Well-known member
Hello!
I'm working on a project where I'm tracking peaks in amplitude and timing and I'm wondering if there is a good way to more accurately track the time occurrence of a peak.
I have filtered out the signal as much as I can and I can track the peaks pretty accurately when they are low to high in amplitude but the outliers that are barely over the threshold are more noisy.
Here is an example of how one of those peaks might look like:
https://www.dropbox.com/s/xzzneso560ap24v/peak.jpg?dl=0
I've filtered out the signal as much as I can and right now I'm tracking when a value goes from ascending to decending and store the time it occurred.
Any way I could maybe make a smooth curve from those samples and use some kind of interpolation to track the exact occurence of the peak?
I'm thinking I should store the last 10 samples before the peak and the 10 samples after in a buffer and then do something with it. Maybe average out the slopes between the last few samples and see where the slope is closest to zero.
Any ideas?
I'm working on a project where I'm tracking peaks in amplitude and timing and I'm wondering if there is a good way to more accurately track the time occurrence of a peak.
I have filtered out the signal as much as I can and I can track the peaks pretty accurately when they are low to high in amplitude but the outliers that are barely over the threshold are more noisy.
Here is an example of how one of those peaks might look like:
https://www.dropbox.com/s/xzzneso560ap24v/peak.jpg?dl=0
I've filtered out the signal as much as I can and right now I'm tracking when a value goes from ascending to decending and store the time it occurred.
Any way I could maybe make a smooth curve from those samples and use some kind of interpolation to track the exact occurence of the peak?
I'm thinking I should store the last 10 samples before the peak and the 10 samples after in a buffer and then do something with it. Maybe average out the slopes between the last few samples and see where the slope is closest to zero.
Any ideas?