Browse Source

An error occurs now.

master
김선중 1 year ago
parent
commit
d184fd797c
8 changed files with 753 additions and 2134 deletions
  1. +564
    -1901
      Analysis/0411_unp-left_p-right-uturn/0411_unp-left.ipynb
  2. +3
    -3
      Intermediates/match6.csv
  3. +44
    -51
      Intermediates/matching.csv
  4. +1
    -1
      Intermediates/node2init.json
  5. +140
    -176
      Results/sn_1704419400.add.xml
  6. BIN
      Scripts/__pycache__/generate_signals.cpython-38.pyc
  7. BIN
      Scripts/__pycache__/preprocess_daily.cpython-38.pyc
  8. +1
    -2
      Scripts/preprocess_daily.py

+ 564
- 1901
Analysis/0411_unp-left_p-right-uturn/0411_unp-left.ipynb
File diff suppressed because it is too large
View File


+ 3
- 3
Intermediates/match6.csv View File

@ -25,10 +25,10 @@
23,177,i2,1,B,4,571542811_02,571542809_01,GGggrrr
24,177,i2,2,A,17,,,rrggrrr
25,177,i2,2,B,18,,,rrggrrr
26,177,u20,1,A,8,,,ggrggg
27,177,u20,1,B,4,,,ggrggg
26,177,u20,1,A,8,,,gggggg
27,177,u20,1,B,4,,,gggggg
28,177,u20,2,A,17,571542810_01.51,571542810_02,ggGggg
29,177,u20,2,B,18,,,ggrggg
29,177,u20,2,B,18,,,gggggg
30,178,c30,1,A,20,,,rrrrrr
31,178,c30,1,B,20,,,rrrrrr
32,178,c30,2,A,20,571542116_01,-571542116_02.96,GGGrrr

+ 44
- 51
Intermediates/matching.csv View File

@ -20,54 +20,47 @@
18,176,i1,21,571543469_02,571542810_01,grrrrrrgrr
19,177,i2,4,571542811_02,571542809_01,GGggrrr
20,177,i2,8,-571542809_01,571542811_01,rrggGGG
21,177,u20,17,571542810_01.51,571542810_02,ggGggg
22,178,c30,20,571542116_01,-571542116_02.96,GGGrrr
23,178,c30,20,571542116_02.96,571542116_02.164,rrrGGG
24,178,c30,20,571542116_01,-571542116_02.96,GGGrrr
25,178,c30,20,571542116_02.96,571542116_02.164,rrrGGG
26,178,c30,20,571542116_01,-571542116_02.96,GGGrrr
27,178,c30,20,571542116_02.96,571542116_02.164,rrrGGG
28,178,i3,1,-571500475_01,571540304_01,grrrrgrrrGgrrrrgrrrr
29,178,i3,2,571540303_02.21,571500475_01,grrrrgrrrrgrrrrgGGGr
30,178,i3,3,571540304_02,571540303_01,grrrrgrrrrgrrrGgrrrr
31,178,i3,4,571556450_02,571540304_01,gGGGrgrrrrgrrrrgrrrr
32,178,i3,5,571540303_02.21,571556450_01,grrrrgrrrrgrrrrgrrrG
33,178,i3,6,-571500475_01,571540303_01,grrrrgGGGrgrrrrgrrrr
34,178,i3,7,571556450_02,571500475_01,grrrGgrrrrgrrrrgrrrr
35,178,i3,8,571540304_02,571556450_01,grrrrgrrrrgGGGrgrrrr
36,178,i3,21,571556450_02,571540303_01,grrrrgrrrrgrrrrgrrrr
37,178,i3,21,571540303_02.21,571540304_01,grrrrgrrrrgrrrrgrrrr
38,178,i3,21,571540304_02,571500475_01,grrrrgrrrrgrrrrgrrrr
39,178,i3,21,-571500475_01,571556450_01,grrrrgrrrrgrrrrgrrrr
40,178,u30,6,571556452_01,571556452_02,ggggGggg
41,178,u31,8,571500475_02,571500475_01.26,ggggGggg
42,178,u32,4,571540303_02,-571540303_02,gggggggG
43,201,i8,1,571500617_02,571500569_01,grrrrrrGgrrrgrrr
44,201,i8,2,571500618_02,571500617_01,grrrrrrrgrrrgGGr
45,201,i8,3,-571500569_01,571500618_01,grrrrrrrgrrGgrrr
46,201,i8,4,571500583_01,571500569_01,gGGrrrrrgrrrgrrr
47,201,i8,5,571500618_02,571500583_02,grrrrrrrgrrrgrrG
48,201,i8,6,571500617_02,571500618_01,grrrGGGrgrrrgrrr
49,201,i8,7,571500583_01,571500617_01,grrGrrrrgrrrgrrr
50,201,i8,8,-571500569_01,571500583_02,grrrrrrrgGGrgrrr
51,201,i8,21,571500583_01,571500618_01,grrrrrrrgrrrgrrr
52,201,i8,21,571500618_02,571500569_01,grrrrrrrgrrrgrrr
53,201,i8,21,-571500569_01,571500617_01,grrrrrrrgrrrgrrr
54,201,i8,21,571500617_02,571500583_02,grrrrrrrgrrrgrrr
55,202,i9,2,571510152_01,571510152_01.65,rrGG
56,202,i9,6,571510152_02,-571510152_01,GGrr
57,206,i7,4,571542073_01,571511538_02,GGrggrr
58,206,i7,8,-571511538_02,571542073_02,rrrggGG
59,210,i6,1,-571542115_01,571500585_01,grrrgrrrGgrrgrrr
60,210,i6,2,571500535_02.18,571542115_01,grrrgrrrrgrrgGGr
61,210,i6,3,571500585_02,571500535_01,grrrgrrrrgrrgrrr
62,210,i6,4,571511538_02.121,571500585_01,gGGrgrrrrgrrgrrr
63,210,i6,5,571500535_02.18,571511538_01,grrrgrrrrgrrgrrG
64,210,i6,6,-571542115_01,571500535_01,grrrgGGGrgrrgrrr
65,210,i6,7,571511538_02.121,571542115_01,grrGgrrrrgrrgrrr
66,210,i6,8,571500585_02,571511538_01,grrrgrrrrgGGgrrr
67,210,i6,21,571511538_02.121,571500535_01,grrrgrrrrgrrgrrr
68,210,i6,21,571500535_02.18,571500585_01,grrrgrrrrgrrgrrr
69,210,i6,21,571500585_02,571542115_01,grrrgrrrrgrrgrrr
70,210,i6,21,-571542115_01,571511538_01,grrrgrrrrgrrgrrr
71,210,u60,5,571500535_02,-571500535_02,ggggggggG
21,178,i3,1,-571500475_01,571540304_01,grrrrgrrrGgrrrrgrrrr
22,178,i3,2,571540303_02.21,571500475_01,grrrrgrrrrgrrrrgGGGr
23,178,i3,3,571540304_02,571540303_01,grrrrgrrrrgrrrGgrrrr
24,178,i3,4,571556450_02,571540304_01,gGGGrgrrrrgrrrrgrrrr
25,178,i3,5,571540303_02.21,571556450_01,grrrrgrrrrgrrrrgrrrG
26,178,i3,6,-571500475_01,571540303_01,grrrrgGGGrgrrrrgrrrr
27,178,i3,7,571556450_02,571500475_01,grrrGgrrrrgrrrrgrrrr
28,178,i3,8,571540304_02,571556450_01,grrrrgrrrrgGGGrgrrrr
29,178,i3,21,571556450_02,571540303_01,grrrrgrrrrgrrrrgrrrr
30,178,i3,21,571540303_02.21,571540304_01,grrrrgrrrrgrrrrgrrrr
31,178,i3,21,571540304_02,571500475_01,grrrrgrrrrgrrrrgrrrr
32,178,i3,21,-571500475_01,571556450_01,grrrrgrrrrgrrrrgrrrr
33,178,u30,6,571556452_01,571556452_02,ggggGggg
34,178,u31,8,571500475_02,571500475_01.26,ggggGggg
35,178,u32,4,571540303_02,-571540303_02,gggggggG
36,201,i8,1,571500617_02,571500569_01,grrrrrrGgrrrgrrr
37,201,i8,2,571500618_02,571500617_01,grrrrrrrgrrrgGGr
38,201,i8,3,-571500569_01,571500618_01,grrrrrrrgrrGgrrr
39,201,i8,4,571500583_01,571500569_01,gGGrrrrrgrrrgrrr
40,201,i8,5,571500618_02,571500583_02,grrrrrrrgrrrgrrG
41,201,i8,6,571500617_02,571500618_01,grrrGGGrgrrrgrrr
42,201,i8,7,571500583_01,571500617_01,grrGrrrrgrrrgrrr
43,201,i8,8,-571500569_01,571500583_02,grrrrrrrgGGrgrrr
44,201,i8,21,571500583_01,571500618_01,grrrrrrrgrrrgrrr
45,201,i8,21,571500618_02,571500569_01,grrrrrrrgrrrgrrr
46,201,i8,21,-571500569_01,571500617_01,grrrrrrrgrrrgrrr
47,201,i8,21,571500617_02,571500583_02,grrrrrrrgrrrgrrr
48,202,i9,2,571510152_01,571510152_01.65,rrGG
49,202,i9,6,571510152_02,-571510152_01,GGrr
50,206,i7,4,571542073_01,571511538_02,GGrggrr
51,206,i7,8,-571511538_02,571542073_02,rrrggGG
52,210,i6,1,-571542115_01,571500585_01,grrrgrrrGgrrgrrr
53,210,i6,2,571500535_02.18,571542115_01,grrrgrrrrgrrgGGr
54,210,i6,3,571500585_02,571500535_01,grrrgrrrrgrrgrrr
55,210,i6,4,571511538_02.121,571500585_01,gGGrgrrrrgrrgrrr
56,210,i6,5,571500535_02.18,571511538_01,grrrgrrrrgrrgrrG
57,210,i6,6,-571542115_01,571500535_01,grrrgGGGrgrrgrrr
58,210,i6,7,571511538_02.121,571542115_01,grrGgrrrrgrrgrrr
59,210,i6,8,571500585_02,571511538_01,grrrgrrrrgGGgrrr
60,210,i6,21,571511538_02.121,571500535_01,grrrgrrrrgrrgrrr
61,210,i6,21,571500535_02.18,571500585_01,grrrgrrrrgrrgrrr
62,210,i6,21,571500585_02,571542115_01,grrrgrrrrgrrgrrr
63,210,i6,21,-571542115_01,571511538_01,grrrgrrrrgrrgrrr
64,210,u60,5,571500535_02,-571500535_02,ggggggggG

+ 1
- 1
Intermediates/node2init.json View File

@ -1 +1 @@
{"c30": ["r", "r", "r", "r", "r", "r"], "i0": ["g", "r", "r", "r", "g", "r", "r", "r", "g", "r", "r", "r", "r", "r", "g", "r", "r"], "i1": ["g", "r", "r", "r", "r", "r", "r", "g", "r", "r"], "i2": ["r", "r", "g", "g", "r", "r", "r"], "i3": ["g", "r", "r", "r", "r", "g", "r", "r", "r", "r", "g", "r", "r", "r", "r", "g", "r", "r", "r", "r"], "i6": ["g", "r", "r", "r", "g", "r", "r", "r", "r", "g", "r", "r", "g", "r", "r", "r"], "i7": ["r", "r", "r", "g", "g", "r", "r"], "i8": ["g", "r", "r", "r", "r", "r", "r", "r", "g", "r", "r", "r", "g", "r", "r", "r"], "i9": ["r", "r", "r", "r"], "u00": ["g", "g", "g", "g", "r", "g", "g", "g", "g"], "u20": ["g", "g", "r", "g", "g", "g"], "u30": ["g", "g", "g", "g", "r", "g", "g", "g"], "u31": ["g", "g", "g", "g", "r", "g", "g", "g"], "u32": ["g", "g", "g", "g", "g", "g", "g", "r"], "u60": ["g", "g", "g", "g", "g", "g", "g", "g", "r"]}
{"c30": ["r", "r", "r", "r", "r", "r"], "i0": ["g", "r", "r", "r", "g", "r", "r", "r", "g", "r", "r", "r", "r", "r", "g", "r", "r"], "i1": ["g", "r", "r", "r", "r", "r", "r", "g", "r", "r"], "i2": ["r", "r", "g", "g", "r", "r", "r"], "i3": ["g", "r", "r", "r", "r", "g", "r", "r", "r", "r", "g", "r", "r", "r", "r", "g", "r", "r", "r", "r"], "i6": ["g", "r", "r", "r", "g", "r", "r", "r", "r", "g", "r", "r", "g", "r", "r", "r"], "i7": ["r", "r", "r", "g", "g", "r", "r"], "i8": ["g", "r", "r", "r", "r", "r", "r", "r", "g", "r", "r", "r", "g", "r", "r", "r"], "i9": ["r", "r", "r", "r"], "u00": ["g", "g", "g", "g", "r", "g", "g", "g", "g"], "u20": ["g", "g", "g", "g", "g", "g"], "u30": ["g", "g", "g", "g", "r", "g", "g", "g"], "u31": ["g", "g", "g", "g", "r", "g", "g", "g"], "u32": ["g", "g", "g", "g", "g", "g", "g", "r"], "u60": ["g", "g", "g", "g", "g", "g", "g", "g", "r"]}

+ 140
- 176
Results/sn_1704419400.add.xml View File

@ -1,5 +1,5 @@
<additional>
<tlLogic id="c30" type="static" programID="c30_prog" offset="-21">
<tlLogic id="c30" type="static" programID="c30_prog" offset="-40">
<phase duration="34" state="rrrrrr"/>
<phase duration="4" state="rrrrrr"/>
<phase duration="1" state="rrrrrr"/>
@ -44,7 +44,7 @@
<phase duration="1" state="GGGGGG"/>
<phase duration="38" state="GGGGGG"/>
</tlLogic>
<tlLogic id="i0" type="static" programID="i0_prog" offset="-160">
<tlLogic id="i0" type="static" programID="i0_prog" offset="-169">
<phase duration="39" state="gGGrgrrrgGGGGrgrr"/>
<phase duration="4" state="gyyrgrrrgyyyyrgrr"/>
<phase duration="1" state="grrrgrrrgrrrrrgrr"/>
@ -54,7 +54,7 @@
<phase duration="28" state="grrrgGGGgrrrrrgrr"/>
<phase duration="4" state="grrrgGGygrrrrrgrr"/>
<phase duration="1" state="grrrgGGrgrrrrrgGr"/>
<phase duration="17" state="grrrgGGrgrrrrrgGr"/>
<phase duration="18" state="grrrgGGrgrrrrrgGr"/>
<phase duration="4" state="grrrgyyrgrrrrrgGr"/>
<phase duration="1" state="grrrgrrrgrrrrrgGr"/>
<phase duration="32" state="grrrgrrrgrrrrrgGG"/>
@ -69,7 +69,7 @@
<phase duration="28" state="grrrgGGGgrrrrrgrr"/>
<phase duration="4" state="grrrgGGygrrrrrgrr"/>
<phase duration="1" state="grrrgGGrgrrrrrgGr"/>
<phase duration="17" state="grrrgGGrgrrrrrgGr"/>
<phase duration="16" state="grrrgGGrgrrrrrgGr"/>
<phase duration="4" state="grrrgyyrgrrrrrgGr"/>
<phase duration="1" state="grrrgrrrgrrrrrgGr"/>
<phase duration="32" state="grrrgrrrgrrrrrgGG"/>
@ -84,7 +84,7 @@
<phase duration="28" state="grrrgGGGgrrrrrgrr"/>
<phase duration="22" state="grrrgGGygrrrrrgrr"/>
</tlLogic>
<tlLogic id="i1" type="static" programID="i1_prog" offset="-90">
<tlLogic id="i1" type="static" programID="i1_prog" offset="-49">
<phase duration="33" state="gGGGGGrgrr"/>
<phase duration="4" state="gyyGGGrgrr"/>
<phase duration="0" state="grrGGGrgrr"/>
@ -137,52 +137,28 @@
<phase duration="0" state="grrGGGGgrr"/>
<phase duration="99" state="grrGGGrgrr"/>
</tlLogic>
<tlLogic id="i2" type="static" programID="i2_prog" offset="-180">
<phase duration="38" state="GGgrGGG"/>
<phase duration="5" state="yygryyy"/>
<phase duration="1" state="rrgrrrr"/>
<phase duration="21" state="rrgrrrr"/>
<phase duration="5" state="rrgrrrr"/>
<phase duration="1" state="rrgrrrr"/>
<phase duration="64" state="rrgrrrr"/>
<phase duration="5" state="rrgrrrr"/>
<phase duration="1" state="rrgrrrr"/>
<phase duration="34" state="rrgrGGG"/>
<phase duration="5" state="rrgrGGG"/>
<phase duration="1" state="rrgrGGG"/>
<phase duration="37" state="GGgrGGG"/>
<phase duration="5" state="yygryyy"/>
<phase duration="1" state="rrgrrrr"/>
<phase duration="21" state="rrgrrrr"/>
<phase duration="5" state="rrgrrrr"/>
<phase duration="1" state="rrgrrrr"/>
<phase duration="64" state="rrgrrrr"/>
<phase duration="5" state="rrgrrrr"/>
<phase duration="1" state="rrgrrrr"/>
<phase duration="34" state="rrgrGGG"/>
<phase duration="5" state="rrgrGGG"/>
<phase duration="1" state="rrgrGGG"/>
<phase duration="37" state="GGgrGGG"/>
<phase duration="5" state="yygryyy"/>
<phase duration="1" state="rrgrrrr"/>
<phase duration="21" state="rrgrrrr"/>
<phase duration="5" state="rrgrrrr"/>
<phase duration="1" state="rrgrrrr"/>
<phase duration="64" state="rrgrrrr"/>
<phase duration="5" state="rrgrrrr"/>
<phase duration="1" state="rrgrrrr"/>
<phase duration="34" state="rrgrGGG"/>
<phase duration="5" state="rrgrGGG"/>
<phase duration="1" state="rrgrGGG"/>
<phase duration="37" state="GGgrGGG"/>
<phase duration="5" state="yygryyy"/>
<phase duration="1" state="rrgrrrr"/>
<phase duration="21" state="rrgrrrr"/>
<phase duration="5" state="rrgrrrr"/>
<phase duration="1" state="rrgrrrr"/>
<phase duration="64" state="rrgrrrr"/>
<tlLogic id="i2" type="static" programID="i2_prog" offset="-110">
<phase duration="40" state="GGggGGG"/>
<phase duration="3" state="yyggyyy"/>
<phase duration="1" state="rrggrrr"/>
<phase duration="23" state="rrggrrr"/>
<phase duration="3" state="rrggrrr"/>
<phase duration="1" state="rrggrrr"/>
<phase duration="39" state="GGggGGG"/>
<phase duration="3" state="yyggyyy"/>
<phase duration="1" state="rrggrrr"/>
<phase duration="23" state="rrggrrr"/>
<phase duration="3" state="rrggrrr"/>
<phase duration="1" state="rrggrrr"/>
<phase duration="39" state="GGggGGG"/>
<phase duration="3" state="yyggyyy"/>
<phase duration="1" state="rrggrrr"/>
<phase duration="23" state="rrggrrr"/>
<phase duration="3" state="rrggrrr"/>
<phase duration="1" state="rrggrrr"/>
<phase duration="39" state="GGggGGG"/>
</tlLogic>
<tlLogic id="i3" type="static" programID="i3_prog" offset="-21">
<tlLogic id="i3" type="static" programID="i3_prog" offset="-40">
<phase duration="34" state="gGGGrgrrrrgGGGrgrrrr"/>
<phase duration="4" state="gyyyrgrrrrgyyyrgrrrr"/>
<phase duration="1" state="grrrrgrrrrgrrrrgrrrr"/>
@ -227,7 +203,7 @@
<phase duration="1" state="grrrrgrrrrgrrrrgrrrr"/>
<phase duration="38" state="grrrrgrrrrgrrrrgGGGG"/>
</tlLogic>
<tlLogic id="i6" type="static" programID="i6_prog" offset="-129">
<tlLogic id="i6" type="static" programID="i6_prog" offset="-10">
<phase duration="1" state="grrrgGGGrgrrgrrr"/>
<phase duration="23" state="grrrgGGGrgrrgrrr"/>
<phase duration="4" state="grrrgGGGrgrrgrrr"/>
@ -285,130 +261,142 @@
<phase duration="1" state="grrrgrrrrgrrgrrr"/>
<phase duration="65" state="gGGGgrrrrgrrgrrr"/>
</tlLogic>
<tlLogic id="i7" type="static" programID="i7_prog" offset="-60">
<phase duration="40" state="GGrggGG"/>
<phase duration="5" state="yyrggyy"/>
<tlLogic id="i7" type="static" programID="i7_prog" offset="-140">
<phase duration="41" state="GGrggGG"/>
<phase duration="4" state="yyrggyy"/>
<phase duration="1" state="rrrggrr"/>
<phase duration="47" state="rrrggrr"/>
<phase duration="5" state="rrrggrr"/>
<phase duration="48" state="rrrggrr"/>
<phase duration="4" state="rrrggrr"/>
<phase duration="1" state="rrrggrr"/>
<phase duration="20" state="GGrggGG"/>
<phase duration="5" state="yyrggyy"/>
<phase duration="21" state="GGrggGG"/>
<phase duration="4" state="yyrggyy"/>
<phase duration="1" state="rrrggrr"/>
<phase duration="20" state="rrrggrr"/>
<phase duration="5" state="rrrggrr"/>
<phase duration="21" state="rrrggrr"/>
<phase duration="4" state="rrrggrr"/>
<phase duration="1" state="rrrggrr"/>
<phase duration="39" state="GGrggGG"/>
<phase duration="5" state="yyrggyy"/>
<phase duration="40" state="GGrggGG"/>
<phase duration="4" state="yyrggyy"/>
<phase duration="1" state="rrrggrr"/>
<phase duration="47" state="rrrggrr"/>
<phase duration="5" state="rrrggrr"/>
<phase duration="48" state="rrrggrr"/>
<phase duration="4" state="rrrggrr"/>
<phase duration="1" state="rrrggrr"/>
<phase duration="20" state="GGrggGG"/>
<phase duration="5" state="yyrggyy"/>
<phase duration="21" state="GGrggGG"/>
<phase duration="4" state="yyrggyy"/>
<phase duration="1" state="rrrggrr"/>
<phase duration="20" state="rrrggrr"/>
<phase duration="5" state="rrrggrr"/>
<phase duration="21" state="rrrggrr"/>
<phase duration="4" state="rrrggrr"/>
<phase duration="1" state="rrrggrr"/>
<phase duration="39" state="GGrggGG"/>
<phase duration="5" state="yyrggyy"/>
<phase duration="40" state="GGrggGG"/>
<phase duration="4" state="yyrggyy"/>
<phase duration="1" state="rrrggrr"/>
<phase duration="47" state="rrrggrr"/>
<phase duration="5" state="rrrggrr"/>
<phase duration="48" state="rrrggrr"/>
<phase duration="4" state="rrrggrr"/>
<phase duration="1" state="rrrggrr"/>
<phase duration="20" state="GGrggGG"/>
<phase duration="5" state="yyrggyy"/>
<phase duration="21" state="GGrggGG"/>
<phase duration="4" state="yyrggyy"/>
<phase duration="1" state="rrrggrr"/>
<phase duration="20" state="rrrggrr"/>
<phase duration="5" state="rrrggrr"/>
<phase duration="21" state="rrrggrr"/>
<phase duration="4" state="rrrggrr"/>
<phase duration="1" state="rrrggrr"/>
<phase duration="39" state="GGrggGG"/>
<phase duration="5" state="yyrggyy"/>
<phase duration="40" state="GGrggGG"/>
<phase duration="4" state="yyrggyy"/>
<phase duration="1" state="rrrggrr"/>
<phase duration="47" state="rrrggrr"/>
<phase duration="5" state="rrrggrr"/>
<phase duration="48" state="rrrggrr"/>
<phase duration="4" state="rrrggrr"/>
<phase duration="1" state="rrrggrr"/>
<phase duration="20" state="GGrggGG"/>
<phase duration="21" state="GGrggGG"/>
</tlLogic>
<tlLogic id="i8" type="static" programID="i8_prog" offset="-30">
<tlLogic id="i8" type="static" programID="i8_prog" offset="-39">
<phase duration="29" state="grrrrrrrgGGGgrrr"/>
<phase duration="4" state="grrrrrrrgyyygrrr"/>
<phase duration="2" state="grrrrrrrgrrrgrrr"/>
<phase duration="30" state="grrrrrrrgrrrgGGG"/>
<phase duration="1" state="grrrrrrrgrrrgrrr"/>
<phase duration="31" state="grrrrrrrgrrrgGGG"/>
<phase duration="4" state="grrrrrrrgrrrgGGy"/>
<phase duration="2" state="grrrrrrrgrrrgGGr"/>
<phase duration="19" state="grrrGGGrgrrrgGGr"/>
<phase duration="1" state="grrrrrrrgrrrgGGr"/>
<phase duration="20" state="grrrGGGrgrrrgGGr"/>
<phase duration="4" state="grrrGGGrgrrrgyyr"/>
<phase duration="2" state="grrrGGGrgrrrgrrr"/>
<phase duration="52" state="grrrGGGGgrrrgrrr"/>
<phase duration="1" state="grrrGGGrgrrrgrrr"/>
<phase duration="53" state="grrrGGGGgrrrgrrr"/>
<phase duration="4" state="grrryyyygrrrgrrr"/>
<phase duration="2" state="grrrrrrrgrrrgrrr"/>
<phase duration="12" state="gGGGrrrrgrrrgrrr"/>
<phase duration="1" state="grrrrrrrgrrrgrrr"/>
<phase duration="13" state="gGGGrrrrgrrrgrrr"/>
<phase duration="4" state="gyyyrrrrgrrrgrrr"/>
<phase duration="2" state="grrrrrrrgrrrgrrr"/>
<phase duration="27" state="grrrrrrrgGGGgrrr"/>
<phase duration="1" state="grrrrrrrgrrrgrrr"/>
<phase duration="28" state="grrrrrrrgGGGgrrr"/>
<phase duration="4" state="grrrrrrrgyyygrrr"/>
<phase duration="2" state="grrrrrrrgrrrgrrr"/>
<phase duration="30" state="grrrrrrrgrrrgGGG"/>
<phase duration="1" state="grrrrrrrgrrrgrrr"/>
<phase duration="31" state="grrrrrrrgrrrgGGG"/>
<phase duration="4" state="grrrrrrrgrrrgGGy"/>
<phase duration="2" state="grrrrrrrgrrrgGGr"/>
<phase duration="19" state="grrrGGGrgrrrgGGr"/>
<phase duration="1" state="grrrrrrrgrrrgGGr"/>
<phase duration="20" state="grrrGGGrgrrrgGGr"/>
<phase duration="4" state="grrrGGGrgrrrgyyr"/>
<phase duration="2" state="grrrGGGrgrrrgrrr"/>
<phase duration="52" state="grrrGGGGgrrrgrrr"/>
<phase duration="1" state="grrrGGGrgrrrgrrr"/>
<phase duration="53" state="grrrGGGGgrrrgrrr"/>
<phase duration="4" state="grrryyyygrrrgrrr"/>
<phase duration="2" state="grrrrrrrgrrrgrrr"/>
<phase duration="12" state="gGGGrrrrgrrrgrrr"/>
<phase duration="1" state="grrrrrrrgrrrgrrr"/>
<phase duration="13" state="gGGGrrrrgrrrgrrr"/>
<phase duration="4" state="gyyyrrrrgrrrgrrr"/>
<phase duration="2" state="grrrrrrrgrrrgrrr"/>
<phase duration="27" state="grrrrrrrgGGGgrrr"/>
<phase duration="1" state="grrrrrrrgrrrgrrr"/>
<phase duration="28" state="grrrrrrrgGGGgrrr"/>
<phase duration="4" state="grrrrrrrgyyygrrr"/>
<phase duration="2" state="grrrrrrrgrrrgrrr"/>
<phase duration="30" state="grrrrrrrgrrrgGGG"/>
<phase duration="1" state="grrrrrrrgrrrgrrr"/>
<phase duration="31" state="grrrrrrrgrrrgGGG"/>
<phase duration="4" state="grrrrrrrgrrrgGGy"/>
<phase duration="2" state="grrrrrrrgrrrgGGr"/>
<phase duration="19" state="grrrGGGrgrrrgGGr"/>
<phase duration="1" state="grrrrrrrgrrrgGGr"/>
<phase duration="20" state="grrrGGGrgrrrgGGr"/>
<phase duration="4" state="grrrGGGrgrrrgyyr"/>
<phase duration="2" state="grrrGGGrgrrrgrrr"/>
<phase duration="52" state="grrrGGGGgrrrgrrr"/>
<phase duration="1" state="grrrGGGrgrrrgrrr"/>
<phase duration="53" state="grrrGGGGgrrrgrrr"/>
<phase duration="4" state="grrryyyygrrrgrrr"/>
<phase duration="2" state="grrrrrrrgrrrgrrr"/>
<phase duration="12" state="gGGGrrrrgrrrgrrr"/>
<phase duration="1" state="grrrrrrrgrrrgrrr"/>
<phase duration="13" state="gGGGrrrrgrrrgrrr"/>
<phase duration="4" state="gyyyrrrrgrrrgrrr"/>
<phase duration="2" state="grrrrrrrgrrrgrrr"/>
<phase duration="27" state="grrrrrrrgGGGgrrr"/>
<phase duration="1" state="grrrrrrrgrrrgrrr"/>
<phase duration="28" state="grrrrrrrgGGGgrrr"/>
<phase duration="4" state="grrrrrrrgyyygrrr"/>
<phase duration="2" state="grrrrrrrgrrrgrrr"/>
<phase duration="30" state="grrrrrrrgrrrgGGG"/>
<phase duration="1" state="grrrrrrrgrrrgrrr"/>
<phase duration="31" state="grrrrrrrgrrrgGGG"/>
<phase duration="4" state="grrrrrrrgrrrgGGy"/>
<phase duration="2" state="grrrrrrrgrrrgGGr"/>
<phase duration="19" state="grrrGGGrgrrrgGGr"/>
<phase duration="1" state="grrrrrrrgrrrgGGr"/>
<phase duration="20" state="grrrGGGrgrrrgGGr"/>
<phase duration="4" state="grrrGGGrgrrrgyyr"/>
<phase duration="2" state="grrrGGGrgrrrgrrr"/>
<phase duration="52" state="grrrGGGGgrrrgrrr"/>
<phase duration="1" state="grrrGGGrgrrrgrrr"/>
<phase duration="53" state="grrrGGGGgrrrgrrr"/>
</tlLogic>
<tlLogic id="i9" type="static" programID="i9_prog" offset="-50">
<tlLogic id="i9" type="static" programID="i9_prog" offset="-120">
<phase duration="42" state="GGGG"/>
<phase duration="4" state="yyyy"/>
<phase duration="1" state="rrrr"/>
<phase duration="109" state="rrrr"/>
<phase duration="0" state="rrrr"/>
<phase duration="0" state="rrrr"/>
<phase duration="0" state="rrrr"/>
<phase duration="110" state="rrrr"/>
<phase duration="4" state="rrrr"/>
<phase duration="1" state="rrrr"/>
<phase duration="41" state="GGGG"/>
<phase duration="0" state="rrrr"/>
<phase duration="0" state="rrGG"/>
<phase duration="0" state="GGrr"/>
<phase duration="42" state="GGGG"/>
<phase duration="4" state="yyyy"/>
<phase duration="1" state="rrrr"/>
<phase duration="109" state="rrrr"/>
<phase duration="0" state="rrrr"/>
<phase duration="0" state="rrrr"/>
<phase duration="0" state="rrrr"/>
<phase duration="110" state="rrrr"/>
<phase duration="4" state="rrrr"/>
<phase duration="1" state="rrrr"/>
<phase duration="41" state="GGGG"/>
<phase duration="0" state="rrrr"/>
<phase duration="0" state="rrGG"/>
<phase duration="0" state="GGrr"/>
<phase duration="42" state="GGGG"/>
<phase duration="4" state="yyyy"/>
<phase duration="1" state="rrrr"/>
<phase duration="109" state="rrrr"/>
<phase duration="0" state="rrrr"/>
<phase duration="0" state="rrrr"/>
<phase duration="0" state="rrrr"/>
<phase duration="110" state="rrrr"/>
<phase duration="4" state="rrrr"/>
<phase duration="1" state="rrrr"/>
<phase duration="41" state="GGGG"/>
<phase duration="0" state="GGGG"/>
<phase duration="0" state="rrrr"/>
<phase duration="0" state="rrGG"/>
<phase duration="42" state="GGrr"/>
</tlLogic>
<tlLogic id="u00" type="static" programID="u00_prog" offset="-160">
<tlLogic id="u00" type="static" programID="u00_prog" offset="-169">
<phase duration="39" state="ggggrgggg"/>
<phase duration="4" state="ggggrgggg"/>
<phase duration="1" state="ggggrgggg"/>
@ -418,7 +406,7 @@
<phase duration="28" state="ggggrgggg"/>
<phase duration="4" state="ggggrgggg"/>
<phase duration="1" state="ggggrgggg"/>
<phase duration="17" state="ggggrgggg"/>
<phase duration="18" state="ggggrgggg"/>
<phase duration="4" state="ggggrgggg"/>
<phase duration="1" state="ggggrgggg"/>
<phase duration="32" state="ggggrgggg"/>
@ -433,7 +421,7 @@
<phase duration="28" state="ggggrgggg"/>
<phase duration="4" state="ggggrgggg"/>
<phase duration="1" state="ggggrgggg"/>
<phase duration="17" state="ggggrgggg"/>
<phase duration="16" state="ggggrgggg"/>
<phase duration="4" state="ggggrgggg"/>
<phase duration="1" state="ggggrgggg"/>
<phase duration="32" state="ggggrgggg"/>
@ -448,52 +436,28 @@
<phase duration="28" state="ggggrgggg"/>
<phase duration="22" state="ggggrgggg"/>
</tlLogic>
<tlLogic id="u20" type="static" programID="u20_prog" offset="-180">
<phase duration="38" state="ggrggg"/>
<phase duration="5" state="ggrggg"/>
<phase duration="1" state="ggrggg"/>
<phase duration="21" state="ggGggg"/>
<phase duration="5" state="ggyggg"/>
<phase duration="1" state="ggrggg"/>
<phase duration="64" state="ggrggg"/>
<phase duration="5" state="ggrggg"/>
<phase duration="1" state="ggrggg"/>
<phase duration="34" state="ggrggg"/>
<phase duration="5" state="ggrggg"/>
<phase duration="1" state="ggrggg"/>
<phase duration="37" state="ggrggg"/>
<phase duration="5" state="ggrggg"/>
<phase duration="1" state="ggrggg"/>
<phase duration="21" state="ggGggg"/>
<phase duration="5" state="ggyggg"/>
<phase duration="1" state="ggrggg"/>
<phase duration="64" state="ggrggg"/>
<phase duration="5" state="ggrggg"/>
<phase duration="1" state="ggrggg"/>
<phase duration="34" state="ggrggg"/>
<phase duration="5" state="ggrggg"/>
<phase duration="1" state="ggrggg"/>
<phase duration="37" state="ggrggg"/>
<phase duration="5" state="ggrggg"/>
<tlLogic id="u20" type="static" programID="u20_prog" offset="-110">
<phase duration="40" state="ggrggg"/>
<phase duration="3" state="ggrggg"/>
<phase duration="1" state="ggrggg"/>
<phase duration="21" state="ggGggg"/>
<phase duration="5" state="ggyggg"/>
<phase duration="23" state="ggGggg"/>
<phase duration="3" state="ggyggg"/>
<phase duration="1" state="ggrggg"/>
<phase duration="64" state="ggrggg"/>
<phase duration="5" state="ggrggg"/>
<phase duration="39" state="ggrggg"/>
<phase duration="3" state="ggrggg"/>
<phase duration="1" state="ggrggg"/>
<phase duration="34" state="ggrggg"/>
<phase duration="5" state="ggrggg"/>
<phase duration="23" state="ggGggg"/>
<phase duration="3" state="ggyggg"/>
<phase duration="1" state="ggrggg"/>
<phase duration="37" state="ggrggg"/>
<phase duration="5" state="ggrggg"/>
<phase duration="39" state="ggrggg"/>
<phase duration="3" state="ggrggg"/>
<phase duration="1" state="ggrggg"/>
<phase duration="21" state="ggGggg"/>
<phase duration="5" state="ggyggg"/>
<phase duration="23" state="ggGggg"/>
<phase duration="3" state="ggyggg"/>
<phase duration="1" state="ggrggg"/>
<phase duration="64" state="ggrggg"/>
<phase duration="39" state="ggrggg"/>
</tlLogic>
<tlLogic id="u30" type="static" programID="u30_prog" offset="-21">
<tlLogic id="u30" type="static" programID="u30_prog" offset="-40">
<phase duration="34" state="ggggrggg"/>
<phase duration="4" state="ggggrggg"/>
<phase duration="1" state="ggggrggg"/>
@ -538,7 +502,7 @@
<phase duration="1" state="ggggrggg"/>
<phase duration="38" state="ggggrggg"/>
</tlLogic>
<tlLogic id="u31" type="static" programID="u31_prog" offset="-21">
<tlLogic id="u31" type="static" programID="u31_prog" offset="-40">
<phase duration="34" state="ggggGggg"/>
<phase duration="4" state="ggggyggg"/>
<phase duration="1" state="ggggrggg"/>
@ -583,7 +547,7 @@
<phase duration="1" state="ggggrggg"/>
<phase duration="38" state="ggggrggg"/>
</tlLogic>
<tlLogic id="u32" type="static" programID="u32_prog" offset="-21">
<tlLogic id="u32" type="static" programID="u32_prog" offset="-40">
<phase duration="34" state="gggggggG"/>
<phase duration="4" state="gggggggy"/>
<phase duration="1" state="gggggggr"/>
@ -628,7 +592,7 @@
<phase duration="1" state="gggggggr"/>
<phase duration="38" state="gggggggr"/>
</tlLogic>
<tlLogic id="u60" type="static" programID="u60_prog" offset="-129">
<tlLogic id="u60" type="static" programID="u60_prog" offset="-10">
<phase duration="1" state="ggggggggr"/>
<phase duration="23" state="ggggggggr"/>
<phase duration="4" state="ggggggggr"/>

BIN
Scripts/__pycache__/generate_signals.cpython-38.pyc View File


BIN
Scripts/__pycache__/preprocess_daily.cpython-38.pyc View File


+ 1
- 2
Scripts/preprocess_daily.py View File

@ -752,7 +752,6 @@ class DailyPreprocessor():
self.matching = self.matching[['inter_no', 'node_id', 'move_no', 'inc_edge_id', 'out_edge_id', 'state']]
# assign signals on match6
self.match6 = self.match6.reset_index(drop=True)
self.match6['init_state'] = self.match6['node_id'].map(self.node2init)
self.match6['state'] = self.match6['init_state'].map(lambda x:''.join(x))
@ -781,7 +780,7 @@ class DailyPreprocessor():
self.match6 = self.match6.reset_index(drop=True)
self.match6 = self.match6[['inter_no', 'node_id', 'phase_no', 'ring_type', 'move_no', 'inc_edge_id', 'out_edge_id', 'state']]
self.match6.to_csv(os.path.join(self.path_intermediates, 'match6.csv'))
self.matching.to_csv(os.path.join(self.path_intermediates, 'matching.csv'))
self.matching.to_csv(os.path.join(self.path_intermediates, 'matching.csv'), index=0)
print('2-3. 직진 및 좌회전(G)을 배정했습니다.')
uid2uindex = {}

Loading…
Cancel
Save