persistence_trace_

property PLSCAN.persistence_trace_: PersistenceTrace

The total persistence signal over all minimum cluster sizes.

Each point on the trace records the summed persistence of all leaf-clusters that are alive at a given minimum cluster size value. The optimal minimum cluster size — used by fit() — is the one that maximises this signal.

For standard persistence measures ("size", "distance", "density"), the trace is 1-D (one value per minimum cluster size). For bi-persistence measures ("size-distance", "size-density"), the trace integrates over the secondary axis, still yielding a 1-D signal. The object supports plot(), to_numpy(), and to_pandas().