![]() |
Persistence 1D inc. Reconstruct1D
1.1
Finding extrema in one dimensional data, filtering them by persistence and reconstructing smooth functions
|
A pair of matched local minimum and local maximum that define a component above a certain persistence threshold. More...
#include <persistence1d.hpp>
Public Member Functions | |
bool | operator< (const TPairedExtrema &other) const |
Public Attributes | |
int | MinIndex |
Index of local minimum, as per Data vector. More... | |
int | MaxIndex |
Index of local maximum, as per Data vector. More... | |
float | Persistence |
The persistence of the two extrema. More... | |
A pair of matched local minimum and local maximum that define a component above a certain persistence threshold.
The persistence value is their (absolute) data difference.
Definition at line 74 of file persistence1d.hpp.
|
inline |
Definition at line 87 of file persistence1d.hpp.
int p1d::TPairedExtrema::MaxIndex |
Index of local maximum, as per Data vector.
Definition at line 80 of file persistence1d.hpp.
int p1d::TPairedExtrema::MinIndex |
Index of local minimum, as per Data vector.
Definition at line 77 of file persistence1d.hpp.
float p1d::TPairedExtrema::Persistence |
The persistence of the two extrema.
Data[MaxIndex] - Data[MinIndex] Guaranteed to be >= 0.
Definition at line 85 of file persistence1d.hpp.