pyuvdata
pyuvdata copied to clipboard
Improve `find_clusters` method to use a clustering algorithm that doesn't put baselines in multiple groups
Currently, get_baseline_redundancies uses the find_clusters method under the hood to identify the baseline groups. But that can put baselines in multiple groups which results in an error. We should use something more like hierarchical clustering to do the clustering so that baselines only end up in one group.