pulsatrix 1.1.0
Loading...
Searching...
No Matches
pulsatrix::RipsOptions Struct Reference

ComputeRipsPersistence()'s settings. More...

#include <rips_persistence.hpp>

Public Attributes

int max_dimension = 1
 The highest homology dimension to compute: 1 for loops, 2 for voids. At most 8.
 
double threshold = -1
 The largest scale; simplices with a larger diameter are left out. A negative value (the default) uses the enclosing radius, min over points of the largest distance from that point. At that scale the complex is a cone, which has no loops or voids, so no feature in dimension 1 or above is cut short. Below it, a feature still alive at the threshold is reported as essential (death infinity).
 
int coefficient = 2
 The prime p of the coefficient field Z/p. 2 is the usual choice; a larger prime is what circular coordinates need, to lift a cocycle to the integers.
 
bool cocycles = false
 Return each feature's representative cocycle. They can be large: one entry per simplex its reduction touched.
 

Detailed Description

Member Data Documentation

◆ cocycles

bool pulsatrix::RipsOptions::cocycles = false

Return each feature's representative cocycle. They can be large: one entry per simplex its reduction touched.

◆ coefficient

int pulsatrix::RipsOptions::coefficient = 2

The prime p of the coefficient field Z/p. 2 is the usual choice; a larger prime is what circular coordinates need, to lift a cocycle to the integers.

◆ max_dimension

int pulsatrix::RipsOptions::max_dimension = 1

The highest homology dimension to compute: 1 for loops, 2 for voids. At most 8.

◆ threshold

double pulsatrix::RipsOptions::threshold = -1

The largest scale; simplices with a larger diameter are left out. A negative value (the default) uses the enclosing radius, min over points of the largest distance from that point. At that scale the complex is a cone, which has no loops or voids, so no feature in dimension 1 or above is cut short. Below it, a feature still alive at the threshold is reported as essential (death infinity).


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