# cechmate.solver.phat_diagrams¶

cechmate.solver.phat_diagrams(simplices, show_inf=False, verbose=True)[source]

Compute the persistence diagram for simplices using Phat.

Parameters: simplices (A list of lists of simplices and their distances) – the kth element is itself a list of tuples ([idx1, …, idxk], dist) where [idx1, …, idxk] is a list of vertices involved in the simplex and “dist” is the distance at which the simplex is added show_inf (Boolean) – Determines whether or not to return points that never die. dgms (list of diagrams) – the persistence diagram for Hk