Skip to content

Commit

Permalink
Added (...) to BlobIndex mask logic
Browse files Browse the repository at this point in the history
  • Loading branch information
braden6521 committed Apr 2, 2024
1 parent 24687d3 commit 13177e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opencsp/app/sofast/lib/BlobIndex.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def _nearest_unassigned_idx_from_xy_point_direction(
# Make mask of valid points
mask_dist_positive = dists_axis > 0
dists_axis[dists_axis == 0] = np.nan
mask_ratio = dists_perp / dists_axis <= self.search_perp_axis_ratio
mask_ratio = (dists_perp / dists_axis) <= self.search_perp_axis_ratio
mask = np.logical_and(mask_dist_positive, mask_ratio)
# Check there are points to find
if mask.sum() == 0:
Expand Down

0 comments on commit 13177e7

Please sign in to comment.