Finds sessions with a duration tolerance
Finds sessions with a duration tolerance
the time distance (inclusive) between two detected sessions that will make the sessions merged, for example, for a fragment of signal values distributed evenly for exactly one second (2, 0, 1, 0, 0, 2, 3, 4, 5, 7, 0) the Duration.ofSeconds(1) will be following sessions detected: [Session(0,0), Session(2,2), Session(5, 9)] the Duration.ofSeconds(2) will be following sessions detected: [Session(0,2), Session(5, 9)]
Session is continuous period where the data point value is not 0
Time series adjusted to session, inclusive