Interval segmentation of time series data

I have this attached time series signal (its actually from an electrostatic sensor, everytime someone walks or moves, I can see that in the signal).

For the machine learning part, I would like to get only the signal when someone is walking or something, so when the signal passes a certain threshold for example.

How do I get to do that in C language?

Topic sensors preprocessing time-series

Category Data Science

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.