Group PALM/iPALM localizations based on their physical separation distance
.perform_grouping(input, critDist, use_prog_bar = TRUE)
A numeric matrix where each row is a localization and each column is a spatial axis.
The critical distance for which localizations nearer than this distance are deemed part of the same group.
TRUE/FALSE indicating whether a progress bar should be used. This is only available when run_parallel is FALSE.
PALM/iPALM data results in a list of spatial coordinates for fluorophore localizations. This function groups nearby localizations if they are within the provided critical distance from each other.