Persistence 1D inc. Reconstruct1D  1.1
Finding extrema in one dimensional data, filtering them by persistence and reconstructing smooth functions
 All Classes Namespaces Files Functions Variables Macros Pages
Public Member Functions | Public Attributes | List of all members
p1d::TPairedExtrema Struct Reference

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...
 

Detailed Description

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.

Member Function Documentation

bool p1d::TPairedExtrema::operator< ( const TPairedExtrema other) const
inline

Definition at line 87 of file persistence1d.hpp.

Member Data Documentation

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.


The documentation for this struct was generated from the following file: