Skip to content

Commit 4393c79

Browse files
committed
Set minimal overlap to track at 20%
1 parent 22158f5 commit 4393c79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/py_eddy_tracker/featured_tracking/area_tracker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def tracking(self, other):
1111
i, j, c = self.match(other, intern=False)
1212
cost_mat = ma.empty(shape, dtype="f4")
1313
cost_mat.mask = ma.ones(shape, dtype="bool")
14-
m = c > 0
14+
m = c > .2
1515
i, j, c = i[m], j[m], c[m]
1616
cost_mat[i, j] = 1 - c
1717

0 commit comments

Comments
 (0)