I have a waveform/pulse close to a square wave signal (1D array of points) with some ripples. I need to automatically determine a start point of a cycle to measure the first ripple and then determine a second point to analyze the remaining ripples. The X, Y data points can very, because I am using cursors to pull data from the initial array and zoom in on one pulse/square wave.