浏览代码

gen_mod.py : Updates.

master
kevin 7 年前
父节点
当前提交
df584dc8c3
共有 1 个文件被更改,包括 28 次插入2 次删除
  1. 28
    2
      src/kc/data/gen_mod/gen_mod.py

+ 28
- 2
src/kc/data/gen_mod/gen_mod.py 查看文件

@@ -667,7 +667,7 @@ if __name__ == "__main__":
667 667
         #mod_range( presetL, "upr",  2.5, -5.0, 2.3, -5.2)
668 668
         #mod_range( presetL, "lwr",  0.5,  2.0, 0.5,  2.0)
669 669
 
670
-    if 1: # 1/14/17
670
+    if 0: # 1/14/17
671 671
 
672 672
         seq1L =[
673 673
             (778, None)   # meas 50
@@ -821,7 +821,7 @@ if __name__ == "__main__":
821 821
 
822 822
         seq1L =[
823 823
             #(1, None)   # meas 38
824
-            (38, None)
824
+            (476, None)
825 825
         ]
826 826
 
827 827
         presetL = dupl_preset( dfltPresetL, "f_4", dfltLabelsL)
@@ -845,7 +845,33 @@ if __name__ == "__main__":
845 845
             mod_range( presetL, "lwr",   8.0,  1.0, 8.0, 1.0)    
846 846
             mod_range( presetL, "cigain", 10.0,  14.0,  10.0,  14.0 )
847 847
         
848
+    if 1: # 3/11/17
848 849
 
850
+        seq1L =[
851
+            (1015, None)  # meas 57 (just before section 29)
852
+            #(1068, None)  # meas 58 (just before section 29)
853
+        ]
854
+
855
+        
856
+        presetL = dupl_preset( dfltPresetL, "g_1_d", dfltLabelsL)
857
+
858
+        # this is a good parameter space - notice that it can
859
+        # generate 4 lines connecting the diagnals of a cube
860
+
861
+        mod_range( presetL, "thr",    10.0, 80.0, 10.0, 80.0 )  # line 1
862
+        mod_range( presetL, "off",    10.0, 99.0, 10.0, 99.0)
863
+
864
+        #mod_range( presetL, "thr",    10.0, 80.0, 10.0, 80.0 )  #  line 2
865
+        #mod_range( presetL, "off",    99.0, 10.0, 99.0, 10.0)
866
+        
867
+        #mod_range( presetL, "upr",  5.0,  -1.5,  5.0,  -1.5 )    
868
+        mod_range( presetL, "upr", -1.5,  5.0,  -1.5, 5.0 )
869
+        
870
+        #mod_range( presetL, "lwr", 0.9,  30.0,  0.9,  30.0 )
871
+        
872
+        mod_range( presetL, "cigain", 14.0, 14.0, 14.0, 14.0 )
873
+
874
+        
849 875
             
850 876
         
851 877
     # thr    upr  lwr   offs

正在加载...
取消
保存