Using C#, how to identify if it's a sine wave by reading a file containing time and sample values of a waveform taken from oscilloscope?

246 views Asked by At

I have a text file containing time and sample values of a waveform taken from an oscilloscope. How do i identify by reading the samples, that it is a sine wave? Is there a way to identify if the waveform is clipped, has a constant amplitude etc? This has to be done in C#.

1

There are 1 answers

0
Sebastian On

Do an inverse Fourier transform over the data and check if there is only a single frequency in the results.