topology-tool-kit / ttk

TTK - Topological Data Analysis and Visualization - Source Code
https://topology-tool-kit.github.io/
Other
406 stars 120 forks source link

[PersistenceDiagramClustering] avoid computing many distances when 2 diagrams #1017

Closed MatPont closed 3 months ago

MatPont commented 4 months ago

This PR changes the code of PersistenceDiagramBarycenter (classical Auction) in order to avoid computing many distances when 2 diagrams are provided in input. It also adds the critical coordinates when computing the lower bound (here just for consistency). It changes the maximum possible value of delta_lim (can go higher than 1 without running into problems now). And allow a custom delta_lim in PersistenceDiagramBarycenter.

julien-tierny commented 3 months ago

awesome, thanks!