Match accleration and gyro samples, which don’t necessarily have the same timestamps or number of samples.
Match accleration and gyro samples, which don’t necessarily
have the same timestamps or number of samples.

- Get regularly-spaced timestamps ranging from the latest start timestamp
(gyro or accleration) to the first end timestamp (gyro or accleration)
- Use linear regression to relate all gyro and acceleration values to
their original timestamps
- Get the gyro and accleration values at the regularly-spaced timestamps
using the regression functions
- Empty the input arrays of samples with irregular timestamps, and fill
them with arrays of samples with equally-spaced timestamps and the
corresponding gyro and accleration values

dasushi/silkymitties-server