DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Calculate Peak-to-Peak Amplitude

Solved!
Go to solution

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.

0 Kudos
Message 1 of 2
(5,027 Views)
Solution
Accepted by topic author JEBalles

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.

Cody A.
0 Kudos
Message 2 of 2
(5,004 Views)