Open, visualize and preprocess the acceleration data on python
Visualise the data through the github :Β https://github.com/sg4r/lodemo
Open, visualize and preprocess the acceleration data on python. Will be released in due course.Β
Thursday morning in class. Will be released in due course.
Try to write the script on colab to calculate :
static acceleration : using an average sliding window with a window size of 2 seconds, you can play around with this value and try out different values.
dynamic acceleration
the Vedba based on the dynamic acceleration
Write a loop to preprocess all the files, the loop should contain :
create extra column with the merged behaviors
correct the pressure and calculate the difference of pressure
calculate and add the descriptive variables : static/dynamic/vedba
for each file, your new dataset should contain 18 columns (accx, accy, accz, gyrx, gyry, gyrz, depth, beh, beh_merge, stx, sty, stz, dx, dy, dz, vedba, pressure_corrected, pressure_dif (the order doesn't matter)
Apply your code on all the files and save the files in numpy in a new folder. We will use these preprocessed files for lecture 2 for the algorithms !Β