API Reference

Core

compute_reduced_triangular(filtration_by_dim)

Compute the matrices R and V in the decomposition R = DV.

compute_barcode_and_coho_reps(idxs, reduced, ...)

Compute the barcode of relative cohomology and cocycle representatives.

compute_steenrod_matrix(k, coho_reps, ...[, ...])

Compute the k-th Steenrod matrices in each dimension.

compute_steenrod_barcode(k, steenrod_matrix, ...)

Compute the Sq^k-barcode of relative cohomology.

barcodes(k, filtration[, absolute, ...])

Given a filtration, compute ordinary persistent (relative or absolute) cohomology barcodes and relative Steenrod barcodes.

rips_barcodes(X[, max_edge_length, ...])

Construct a Rips filtration and compute ordinary persistent (relative or absolute) cohomology barcodes and relative Steenrod barcodes.

Preprocessing

make_simplices(top_faces)

Return all simplices of a complex given its top ones.

make_filtration(simplices)

Return a filtration of a given complex.

sort_filtration_by_dim(filtration[, maxdim])

Organize an input filtration by dimension.

cone(simplices)

Return a filtration of the cone of a complex.

suspension(simplices)

Return a filtration of the suspension of a complex.

sphere(n)

Return a filtration of the n-sphere.

wedge(simplices_1, simplices_2)

Return a filtration of the wedge of two complexes.

Visualization

plot_diagrams(barcode, steenrod_barcode[, ...])

Plot a regular persistence barcode and a Steenrod barcode as diagrams on a common birth-death plane.