Wow that is really impressive! Especially recognising laps from noisy data. Well done, and I am sure in the right hands this will be really a help to improve one's driving. I love data driven analysis, and this is really cool.
For a project where I have different data with different sampling frequency and time offset, I would need similar code. What's the basis for yours? Did you use some kind of library?
Sad I didn't meet you at Axxelerate Arena. Where will you drive outdoor? I'll be mostly in Dintikon AG.
Thank you! For the architecture of my code : I made a backend (Python for now, it could maybe be faster with another programming language) for the heavy processing and a frontend (CSS JS HTML). I use several libraries such as numpy, scipy and mathplotlib. I really recommend them to you they are super useful! I don't really have a track outdoor as of now (it closed down). I mostly run indoors now at IRCR (near Lausanne).