config.sessionLength set to 0 will treat the entire indexRange as the session. In this case, the returned startIndex will be identical to indexRange.start.
config.sessionLength
indexRange
indexRange.start
Uses an online algorithm for calculating the standard deviation (with good numerical stability) Source: https://en.wikipedia.org/wiki/Algorithms_for_calculating_variance#Welford's_online_algorithm
bandValue indicates a multiplier for stddev, and a percentage (i.e. 0.05 == 5%) for perc
bandValue
stddev
perc
config.sessionLengthset to 0 will treat the entireindexRangeas the session. In this case, the returned startIndex will be identical toindexRange.start.Uses an online algorithm for calculating the standard deviation (with good numerical stability) Source: https://en.wikipedia.org/wiki/Algorithms_for_calculating_variance#Welford's_online_algorithm