Our algorithm utilises threshold-based detection
of steps with different thresholds for left and right
legs. When the weighed moving average as given by
(2) decreases below these thresholds, the algorithm
increments the step count. The thresholds are de-
fined differently for various models of smartphones
and are based on experimental results. The values for
the particular devices are shown in table 1. In the next
stages of development, the Wolf method may be used
to eliminate the hardware-specific constants.