estimate_h_from_percolation_history

alternate Heuristic h from percolation history; used in parameter-tuning notes. Use select_percolation_threshold instead.

helper.estimate_h_from_percolation_history(distance_grid)

Estimate h parameter using PLR and analysis of percolation transition. Returns a suitable h value for h-maxima detection.