to_numpy

PersistenceTrace.to_numpy()

Returns a numpy array of the persistence trace.

The total persistence is computed over the leaf clusters’ left-open (birth, death] intervals. min_size contains all unique birth minimum cluster size thresholds. It should not be confused with the minimum_cluster_size threshold, as min_size refers to the last value before a cluster becomes a leaf.

Return type:

ndarray