This is just a programming exercise and not a full-featured,
production-ready software.
It compares two data sets and searches for simultaneously constant or
almost constant segments. You can easily extend the functionality to
more than two data sets.
Run:
$./constsegm.py data_file epsilon_1 epsilon_2
Tested on
- Python 3.8
- pandas 0.25.3
- numpy 1.17.4
- matplotlib 3.3.3