unipsycho/Graph-Extensions-LabVIEW

Peaks and Valleys need to be sorted ascending and descending, accordingly

unipsycho opened this issue · 1 comments

Currently, peaks and valleys are found in order on the X axis, instead of ordered by amplitude, which makes more sense for peaks and valleys, so the minimum and maximum ones can be identified first, when limiting the number of peaks or valleys shown.

Implemented sorting so these can be used to found the extremities first.