filtrations.SetFiltration.SetFiltration

filtrations.SetFiltration.SetFiltration(self, simplices=None, f=None, order='lex')

Filtered complex of simplices uses SortedSet.

This class represents a filtration of simplices by associating keys of a given index set with _SortedSet_s of Simplex instances. This class also implements the Mapping[Any, SimplexConvertible] Implements: getitem, iter, len, contains, keys, items, values, get, eq, and ne

Methods

Name Description
add
cofaces
copy
dim
faces
index
indices
reindex Given a totally ordered key set of the same length of the filtation, or a callable, reindexes the simplices in the filtration
update

add

filtrations.SetFiltration.SetFiltration.add(self, simplex)

cofaces

filtrations.SetFiltration.SetFiltration.cofaces(self, item)

copy

filtrations.SetFiltration.SetFiltration.copy(self)

dim

filtrations.SetFiltration.SetFiltration.dim(self)

faces

filtrations.SetFiltration.SetFiltration.faces(self, p=None, **kwargs)

index

filtrations.SetFiltration.SetFiltration.index(self, item)

indices

filtrations.SetFiltration.SetFiltration.indices(self)

reindex

filtrations.SetFiltration.SetFiltration.reindex(self, index_set)

Given a totally ordered key set of the same length of the filtation, or a callable, reindexes the simplices in the filtration

update

filtrations.SetFiltration.SetFiltration.update(self, simplices)