03-24-2016 09:39 AM
I'm wondering if it's possible to calculate the peak to peak amplitude of a sine wave. I have a waveform from a proximeter for a ten second period and would like to calculate the peak to peak amplitude for every cycle.
Solved! Go to Solution.
03-25-2016 01:10 PM
The DIAdem Analysis window has a peak/valley function that will allow you to find the peaks and valleys of a signal. Depending on the exact function you're using, you can either store these results as a "result channel" or as a new property of the waveform. Either way, once you have found the peaks and valleys, you can add the peak to the absolute value of the value to find the full peak-peak amplitude.
If you need to do this in an automated fashion, you could write a pretty quick script to call those functions programmatically.