CallDistanceTransceiver.py: use a more conservative call_setup_time_max default
authorAntonio Ospite <ao2@ao2.it>
Sun, 3 Jan 2016 20:34:25 +0000 (21:34 +0100)
committerAntonio Ospite <ao2@ao2.it>
Mon, 4 Jan 2016 09:48:26 +0000 (10:48 +0100)
plot/symbols_distances_defaults.log
src/savemysugar/CallDistanceTransceiver.py

index bc28a2b..45f432e 100644 (file)
@@ -1,5 +1,5 @@
-1450801238.674896 DEBUG:__init__ call setup time between 7.00 and 15.00 --------- dot transmit time: 15.00 + 5.20 receive time: between 12.20 and 28.20
-1450801238.675087 DEBUG:__init__ call setup time between 7.00 and 15.00 -------- dash transmit time: 15.00 + 21.20 receive time: between 28.20 and 44.20
-1450801238.675211 DEBUG:__init__ call setup time between 7.00 and 15.00 - signalspace transmit time: 15.00 + 37.20 receive time: between 44.20 and 60.20
-1450801238.675311 DEBUG:__init__ call setup time between 7.00 and 15.00 --- wordspace transmit time: 15.00 + 53.20 receive time: between 60.20 and 76.20
-1450801238.675409 DEBUG:__init__ call setup time between 7.00 and 15.00 --------- EOM transmit time: 15.00 + 69.20 receive time: between 76.20 and inf
+1451847653.762250 DEBUG:__init__ call setup time between 7.00 and 16.50 --------- dot transmit time: 16.50 + 5.20 receive time: between 12.20 and 31.20
+1451847653.762435 DEBUG:__init__ call setup time between 7.00 and 16.50 -------- dash transmit time: 16.50 + 24.20 receive time: between 31.20 and 50.20
+1451847653.763484 DEBUG:__init__ call setup time between 7.00 and 16.50 - signalspace transmit time: 16.50 + 43.20 receive time: between 50.20 and 69.20
+1451847653.763634 DEBUG:__init__ call setup time between 7.00 and 16.50 --- wordspace transmit time: 16.50 + 62.20 receive time: between 69.20 and 88.20
+1451847653.763767 DEBUG:__init__ call setup time between 7.00 and 16.50 --------- EOM transmit time: 16.50 + 81.20 receive time: between 88.20 and inf
index 1e378d2..9c53ba2 100755 (executable)
@@ -60,7 +60,7 @@ class CallDistanceTransceiver(object):
     """
 
     def __init__(self, modem,
     """
 
     def __init__(self, modem,
-                 call_setup_time_min=7, call_setup_time_max=15,
+                 call_setup_time_min=7, call_setup_time_max=16.5,
                  ring_time_min=4.8, ring_time_max=5.2,
                  add_inter_call_distance=True):
         """Encode the Morse symbols using the distance between calls.
                  ring_time_min=4.8, ring_time_max=5.2,
                  add_inter_call_distance=True):
         """Encode the Morse symbols using the distance between calls.