From 640c458e49098e004d3bbbcbc28d032f6064c76b Mon Sep 17 00:00:00 2001 From: jopohl Date: Fri, 24 Jun 2016 14:56:07 +0200 Subject: [PATCH] add some thoughts in comment --- src/urh/signalprocessing/LabelAssigner.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/urh/signalprocessing/LabelAssigner.py b/src/urh/signalprocessing/LabelAssigner.py index 741c3cb6..8d4ccffa 100644 --- a/src/urh/signalprocessing/LabelAssigner.py +++ b/src/urh/signalprocessing/LabelAssigner.py @@ -81,8 +81,10 @@ class LabelAssigner(object): # if labels overlap, there are different merge strategies # 1) choose the range that occurred most frequently # 2) split the overlapping ranges and create two labels -> not good as this changes the information - # 3) Use the smallest common range (hides possible informations) - # 4) make a new labelset if possible + # 3) Use the smallest common range (hides possible informations/broken protocols shrink information range) + # when to create a new labelset? + # 1) use information about diffs like (0, 2) [71-87, 135-155] 8070 00010 and put blocks in labelset + # if they have enough in common # for block_index in sorted(self.constant_intervals_per_block): # interval_info = ""