Select the narrow peak ranges.
PeakRange(score, tolerance = 1, point_max = 5)The score data to peak ranges.
The tolerance level , the selected narrow ranges are with score at least S-tolerance
The largest candidate number of change points.
The number of peak ranges.
The location of peak ranges.
For each column(window type), find the union of all the peak ranges whose associated scores are no less than S - tolerance, where S is highest score, then choose the largest window type with that the number of peak ranges meet the restriction.
J. Ding, Y. Xiang, L. Shen, and V. Tarokh, Multiple Change Point Analysis: Fast Implementation and Strong Consistency. IEEE Transactions on Signal Processing, vol. 65, no. 17, pp. 4495-4510, 2017.