Skip to content

Commit

Permalink
reduce the grid size per a conversation with Josh
Browse files Browse the repository at this point in the history
  • Loading branch information
bhazelton committed Feb 22, 2024
1 parent aba14df commit 31ae537
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pyuvdata/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -4524,7 +4524,10 @@ def find_clusters_grid(baselines, baseline_vecs, tol=1.0):
"""
bl_gps = {}
grid_size = tol / 2.0
# reduce the grid size to ensure baselines won't be assigned to a group
# more than the tol away from their location. The factor of 4 is a personal
# communication from Josh Dillon who developed this algorithm.
grid_size = tol / 4.0

p_or_m = (0, -1, 1)
epsilons = [[dx, dy, dz] for dx in p_or_m for dy in p_or_m for dz in p_or_m]
Expand Down

0 comments on commit 31ae537

Please sign in to comment.