analyzing data collected from the box (containing accelerometer + gyro sesonrs)
The bach script preprocessAll.sh calls the python script, i.e. the preprocessing pipeline preprocess.py that currently does roughly this:
adds absolute timestmps to the data using the recorded time of installation
resamples (downsamples) the data to the same sampling rate as telespor measurements by averaging meaurements inside the bins
For preparing training data, preprocess.py also accepts two timestamps (signalstart & signalend) that limits the measurements used to the time range during which the boat was actually moving