Colormap to help choosing the thresholds. Colour map for choosing appropriate thresholds for converting the accelerometer readings to equivalent motor index: Norm based (top), SMA based (middle), Energy based (bottom). The colormap shows the accuracy contour while x and y axes represent the two thresholds. As it can be seen, for certain values of calculated thresholds the accuracy is quite high (in red or maroon colors) particularly for the energy based method. This chart is obtained using T0, T1 and T2 values and is tested using T24.