openmovementproject / openmovement

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.
https://openmovement.dev
146 stars 76 forks source link

Bugs found in get stationary periods script #20

Closed CassimLadha closed 8 years ago

CassimLadha commented 8 years ago

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;

danielgjackson commented 8 years ago

Thanks Cas, fixed with your patch in the above commit.