Gudhi

org.appliedtopology.tda4j.Gudhi
object Gudhi

GUDHI's OFF/nOFF point-cloud format and its .pers persistence-diagram format. For GUDHI's cubical input, which is Perseus's format, see Perseus.

Attributes

Experimental
true
Source
Gudhi.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Gudhi.type

Members list

Value members

Concrete methods

def formatOff(points: Array[Array[Double]]): String

Writes an OFF (3D) or nOFF (any other dimension) point cloud, no faces/edges.

Writes an OFF (3D) or nOFF (any other dimension) point cloud, no faces/edges.

Attributes

Source
Gudhi.scala
def formatPersistenceDiagram(bars: Seq[PersistenceBar[Double, _]], field: Option[Int] = ...): String

Writes a 3-column dim birth death .pers file, or 4-column field dim birth death when field is given.

Writes a 3-column dim birth death .pers file, or 4-column field dim birth death when field is given.

Attributes

Source
Gudhi.scala
def parseOff(text: String): Array[Array[Double]]

OFF/nOFF point clouds (Geomview's OFF format): a header line (OFF for 3 dimensions, OFF for any other dimension), then a [dim] vertices faces edges count line, then one vertex per line. #-prefixed lines are comments, skipped anywhere. Faces/edges are never read -- GUDHI's own reader doesn't use them for a point set either.

OFF/nOFF point clouds (Geomview's OFF format): a header line (OFF for 3 dimensions, OFF for any other dimension), then a [dim] vertices faces edges count line, then one vertex per line. #-prefixed lines are comments, skipped anywhere. Faces/edges are never read -- GUDHI's own reader doesn't use them for a point set either.

Attributes

Source
Gudhi.scala
def parsePersistenceDiagram(text: String): Seq[PersistenceBar[Double, Nothing]]

GUDHI's .pers diagram format: #-prefixed comment lines are ignored; every other line has 2, 3, or 4 whitespace-separated fields, [[field] dimension] birth death. This reads the LAST two fields as birth/death always, and: 4 fields -> dimension is the second field (the first, the coefficient-field characteristic, is not represented in PersistenceBar and is discarded); 3 fields -> the first field is dimension; 2 fields -> dimension defaults to 0. inf/-inf (any case) are infinite endpoints.

GUDHI's .pers diagram format: #-prefixed comment lines are ignored; every other line has 2, 3, or 4 whitespace-separated fields, [[field] dimension] birth death. This reads the LAST two fields as birth/death always, and: 4 fields -> dimension is the second field (the first, the coefficient-field characteristic, is not represented in PersistenceBar and is discarded); 3 fields -> the first field is dimension; 2 fields -> dimension defaults to 0. inf/-inf (any case) are infinite endpoints.

Attributes

Source
Gudhi.scala

Attributes

Source
Gudhi.scala
def readOff(path: String): Array[Array[Double]]

Attributes

Source
Gudhi.scala
def readPersistenceDiagram(path: String): Seq[PersistenceBar[Double, Nothing]]

Attributes

Source
Gudhi.scala
def writeOff(path: String, points: Array[Array[Double]]): Unit

Attributes

Source
Gudhi.scala
def writePersistenceDiagram(path: String, bars: Seq[PersistenceBar[Double, _]], field: Option[Int] = ...): Unit

Attributes

Source
Gudhi.scala