|
@@ -622,8 +622,7 @@ if __name__ == "__main__":
|
622
|
622
|
]
|
623
|
623
|
|
624
|
624
|
|
625
|
|
- # make all presets identical to preset 'a'.
|
626
|
|
- presetL = dupl_preset( dfltPresetL, "g_1_d", dfltLabelsL)
|
|
625
|
+ presetL = []
|
627
|
626
|
|
628
|
627
|
# assign a sequential range of thresholds to each preset
|
629
|
628
|
if 0: # 12/28/16
|
|
@@ -632,20 +631,71 @@ if __name__ == "__main__":
|
632
|
631
|
mod_range( presetL, "upr", 2.5, -5.0, 2.3, -5.2)
|
633
|
632
|
mod_range( presetL, "lwr", 0.5, 2.0, 0.5, 2.0)
|
634
|
633
|
|
635
|
|
-
|
636
|
|
- #mod_range( presetL, "thr", 30.0, 90.0, 35.0, 95.0 )
|
637
|
|
- #mod_range( presetL, "cigain", 10.0, 16.0, 10.0, 16.0 )
|
638
|
|
- mod_range( presetL, "thr", 65.0, 65.0, 65.0, 65.0 )
|
639
|
|
- #mod_range( presetL, "upr", -0.05, 4.5, -0.05, 4.5) # upr slope min: -0.05
|
640
|
|
- mod_range( presetL, "upr", -0.05, -0.05, -0.05, -0.05)
|
641
|
|
- #mod_range( presetL, "lwr", 1.1, 8.0, 1.1, 8.0 ) # 1.5 is good
|
642
|
|
- #mod_range( presetL, "lwr", 8.0, 8.0, 8.0, 8.0 )
|
643
|
|
- mod_range( presetL, "lwr", 1.5, 1.5, 1.5, 1.5 )
|
644
|
|
- mod_range( presetL, "off", 0.0, 99.9, 0.0, 99.9)
|
645
|
|
- #mod_range( presetL, "upr", 2.5, -5.0, 2.3, -5.2)
|
646
|
|
- #mod_range( presetL, "lwr", 0.5, 2.0, 0.5, 2.0)
|
|
634
|
+ if 0: # 12/28/16
|
|
635
|
+
|
|
636
|
+ # make all presets identical to preset 'a'.
|
|
637
|
+ presetL = dupl_preset( dfltPresetL, "g_1_d", dfltLabelsL)
|
|
638
|
+
|
|
639
|
+ #mod_range( presetL, "thr", 30.0, 90.0, 35.0, 95.0 )
|
|
640
|
+ #mod_range( presetL, "cigain", 10.0, 16.0, 10.0, 16.0 )
|
|
641
|
+ mod_range( presetL, "thr", 65.0, 65.0, 65.0, 65.0 )
|
|
642
|
+ #mod_range( presetL, "upr", -0.05, 4.5, -0.05, 4.5) # upr slope min: -0.05
|
|
643
|
+ mod_range( presetL, "upr", -0.05, -0.05, -0.05, -0.05)
|
|
644
|
+ #mod_range( presetL, "lwr", 1.1, 8.0, 1.1, 8.0 ) # 1.5 is good
|
|
645
|
+ #mod_range( presetL, "lwr", 8.0, 8.0, 8.0, 8.0 )
|
|
646
|
+ mod_range( presetL, "lwr", 1.5, 1.5, 1.5, 1.5 )
|
|
647
|
+ mod_range( presetL, "off", 0.0, 99.9, 0.0, 99.9)
|
|
648
|
+ #mod_range( presetL, "upr", 2.5, -5.0, 2.3, -5.2)
|
|
649
|
+ #mod_range( presetL, "lwr", 0.5, 2.0, 0.5, 2.0)
|
|
650
|
+
|
|
651
|
+ if 0: # 1/14/17
|
|
652
|
+
|
|
653
|
+ seq1L =[
|
|
654
|
+ (778, None) # meas 50
|
|
655
|
+ ]
|
|
656
|
+
|
|
657
|
+ presetL = dupl_preset( dfltPresetL, "f_3", dfltLabelsL)
|
|
658
|
+
|
|
659
|
+ # thr: (40 ok) - (71 0k) upr:-3.0 lwr:1.0 cigain:6.0 vetted trajectory for measure 50
|
|
660
|
+
|
|
661
|
+ mod_range( presetL, "thr", 40.0, 74.0, 40.0, 74.0 )
|
|
662
|
+ #mod_range( presetL, "thr", 68.0, 68.0, 68.0, 68.0 )
|
|
663
|
+ #mod_range( presetL, "upr", -4.0, 0.0, -4.0, 0.0)
|
|
664
|
+ mod_range( presetL, "upr", -3.0, -3.0, -3.0, -3.0)
|
|
665
|
+ mod_range( presetL, "lwr", 1.0, 1.0, 1.0, 1.0 )
|
|
666
|
+ mod_range( presetL, "cigain", 6.0, 6.0, 6.0, 6.0 )
|
647
|
667
|
|
648
|
668
|
|
|
669
|
+ if 0: # 1/14/17 and 1/28/17
|
|
670
|
+
|
|
671
|
+ seq1L =[
|
|
672
|
+ (917, None) # meas 53
|
|
673
|
+ ]
|
|
674
|
+
|
|
675
|
+ # make all presets identical to preset 'a'.
|
|
676
|
+ presetL = dupl_preset( dfltPresetL, "g_1_d", dfltLabelsL)
|
|
677
|
+
|
|
678
|
+ mod_range( presetL, "thr", 20.0, 50.0, 20.0, 50.0 ) # offs:65 thr:20-50
|
|
679
|
+ #mod_range( presetL, "off", 10.0, 80.0, 10.0, 80.0)
|
|
680
|
+ #mod_range( presetL, "off", 65.0, 65.0, 65.0, 65.0) # thr 34, offset should be > 50
|
|
681
|
+ #mod_range( presetL, "off", 50.0, 80.0, 50.0, 80.0)
|
|
682
|
+ mod_range( presetL, "off", 80.0, 50.0, 80.0, 50.0)
|
|
683
|
+ mod_range( presetL, "cigain", 14.0, 14.0, 14.0, 14.0 )
|
|
684
|
+
|
|
685
|
+ if 1: # 1/28/17
|
|
686
|
+
|
|
687
|
+ seq1L =[
|
|
688
|
+ (917, None) # meas 53
|
|
689
|
+ ]
|
|
690
|
+
|
|
691
|
+ # make all presets identical to preset 'a'.
|
|
692
|
+ presetL = dupl_preset( dfltPresetL, "f_3", dfltLabelsL)
|
|
693
|
+
|
|
694
|
+ mod_range( presetL, "thr", 40.0, 90.0, 40.0, 90.0 )
|
|
695
|
+ mod_range( presetL, "upr", 0.0, 0.0, 0.0, 0.0 )
|
|
696
|
+ mod_range( presetL, "lwr", 4.0, 4.0, 4.0, 4.0) # vocal artifacts come in with lwr < 4
|
|
697
|
+ mod_range( presetL, "cigain", 3.0, 8.0, 3.0, 8.0 )
|
|
698
|
+
|
649
|
699
|
# thr upr lwr offs
|
650
|
700
|
# 65 -0.05 1.5 0.0
|
651
|
701
|
# 99.9
|