Introduction - If you have any usage issues, please Google them yourself
Persistence1D is a class for finding local extrema and their persistence
in one-dimensional data. Local minima and local maxima are extracted,
paired, and sorted according to their persistence.