detect_cusum# pyCGM2.Signal.detect_changes.detect_cusum(x: ndarray, threshold: int = 1, drift: int = 0, ending: bool = False, show: bool = True, ax: Axes | None = None)# Cumulative sum algorithm (CUSUM) to detect abrupt changes in data