petls.Rips#
- class petls.Rips(filename=None, points=None, distances=None, max_dim=3, threshold=None, eigs_Algorithm='eigvalsh', up_Algorithm='schur')[source]#
Rips complex from a point cloud or distance matrix, using “ripser” by Ulrich Bauer.
- Attributes:
- flipped
- verbose
Methods
eigenpairs([dim, a, b, request_list, allpairs])Compute the eigenvalues and eigenvectors of L_{dim}^{a,b} or for every tuple (dim, a, b) in request_list.
set_boundaries_filtrations(boundaries, ...)If the boundaries and filtrations were not set in the constructor, set them here.
spectra([dim, a, b, request_list, allpairs])Compute the eigenvalues of L_{dim}^{a,b} or for every tuple (dim, a, b) in request_list.
eigenvalues_summarize
filtration_list_to_spectra_request
get_L
get_all_filtrations
get_down
get_up
nonzero_spectra
print_boundaries
set_eigs_Algorithm
set_up_Algorithm
store_L
store_spectra
store_spectra_summary
time_to_csv
- __init__(filename=None, points=None, distances=None, max_dim=3, threshold=None, eigs_Algorithm='eigvalsh', up_Algorithm='schur')[source]#
Constructor for the Complex class.
Methods
__init__([filename, points, distances, ...])Constructor for the Complex class.
eigenpairs([dim, a, b, request_list, allpairs])Compute the eigenvalues and eigenvectors of L_{dim}^{a,b} or for every tuple (dim, a, b) in request_list.
eigenvalues_summarize(eigenvalues)filtration_list_to_spectra_request(...[, ...])get_L(dim, a, b)get_all_filtrations()get_down(dim, a)get_up(dim, a, b)nonzero_spectra(dim, a, b[, PH_basis, ...])print_boundaries()set_boundaries_filtrations(boundaries, ...)If the boundaries and filtrations were not set in the constructor, set them here.
set_eigs_Algorithm(eigs_Algorithm[, ...])set_up_Algorithm(up_Algorithm)spectra([dim, a, b, request_list, allpairs])Compute the eigenvalues of L_{dim}^{a,b} or for every tuple (dim, a, b) in request_list.
store_L(dim, a, b, prefix)store_spectra(spectra_list, file_prefix)store_spectra_summary(spectra_list, file_prefix)time_to_csv(filename)Attributes
cpp_algorithms_listflippedverbose