Add "predictGap" function in the future. Reference: cutWindow() https://dhlab-tseng.github.io/dxtime/docs/articles/dxtime.html