The PeakTrough class represents a peak or trough that was detected in time series data by the PeakTroughCalculator utility class.
The index where the peak or trough was actually detected. Since peaks and troughs are detected after reversals, this will always be later than the actual index of the peak or trough apex/nadir itself.
The index of the peak's actual apex, or the trough's actual nadir.
Specifies whether the object represents a PeakTroughTypes.Peak or a PeakTroughTypes.Trough.
The apex value of the peak, or nadir value of the trough.