Skip to content

Commit e9d1d0e

Browse files
committed
biological/bc.py is_matching() cosmetics changes in commentary and doc lines
1 parent 5e519fa commit e9d1d0e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • ctc_metrics/metrics/biological

ctc_metrics/metrics/biological/bc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def is_matching(
101101
temporal_error = abs(t_ref - t_comp)
102102
if temporal_error > max_i:
103103
break
104-
# Verify if children are matching
104+
# Verify if children are overlapping spatially
105105
t_max = max(t_ref, t_comp)
106106
if i in mapped_ref[t_max] and j in mapped_comp[t_max]:
107107
ind = mapped_ref[t_max].index(i)
@@ -148,7 +148,7 @@ def raw_division_metrics(
148148
matched labels of the result masks in the respective frame. The
149149
elements are in the same order as the corresponding elements in
150150
mapped_ref.
151-
i: The maximal allowed error in frames.
151+
i: The maximal allowed temporal error (offset) in frames.
152152
153153
Returns:
154154
Tuple of true positives, false positives, and false negatives.

0 commit comments

Comments
 (0)