Open Movement devices are miniature, embeddable, open source sensors developed at Newcastle University, UK. The source code for the firmware and software is available under a BSD 2-clause license, and the hardware (PCB designs, layouts and schematics), enclosure designs and documentation are available under a Creative Commons 3.0 BY Attribution License.
in the script getStationaryPeriods there is a type that interpolates to 5Hz instead of 50Hz
% interpolate for speed later on at 50Hz T = st:0.2/86400:en; <-this gives 5Hz...
should be
% interpolate for speed later on at 50Hz T = st:0.02/86400:en;