From de179d070df5509f601601c68bd10f5cee7b8041 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Sun, 13 Oct 2019 18:28:58 +0200 Subject: [PATCH] this is not theoretical any more --- owrx/service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/owrx/service.py b/owrx/service.py index 92db9c1..ec86ad8 100644 --- a/owrx/service.py +++ b/owrx/service.py @@ -318,7 +318,7 @@ class ServiceHandler(object): return {"num_splits": num_splits, "total_bandwidth": total_bandwidth, "groups": groups} usages = [calculate_usage(i) for i in range(0, len(freqs))] - # this is simulating no resampling. i haven't seen this as the best result yet + # another possible outcome might be that it's best not to resample at all. this is a special case. usages += [{"num_splits": None, "total_bandwidth": bandwidth * len(freqs), "groups": [freqs]}] results = sorted(usages, key=lambda f: f["total_bandwidth"])