Unlike Actigraph count algorithm, MIMS unit algorithm truncates non-zero values caused by floating number precision limit and the imperfect filtering transition band during MIMS unit computation. This article describes the process of deciding the truncation threshold.
The constant signal has zero variance.
Plot input accelerometer’s raw signal
Compute MIMS-unit values
Plot MIMS-unit values
The output MIMS unit values have high shoot up at the beginning due to the nonlinear phase response of butterworth filter. It takes about 1 min for the output signal to stabilize. Although the signal is constant, the MIMS unit values are not zeros, which is caused by floating number precision limit during MIMS unit computation (filtering).
The median value after stabilization is
##  3.188147e-10
And the standard deviation is
##  8.251635e-14
The original signal has variance, first import data
df = MIMSunit::rest_on_table
##  "X axis variance: 1.997448e-03"
##  "Y axis variance: 2.012883e-03"
##  "Z axis variance: 1.732148e-03"