@@ -14,17 +14,17 controllerObj = Project() | |||
|
14 | 14 | |
|
15 | 15 | controllerObj.setup(id = '191', name='test01', description=desc) |
|
16 | 16 | |
|
17 |
path = '/ |
|
|
17 | path = '/home/operaciones/150km_jicamarca_january/RAW_EXP/2015_ISR' | |
|
18 | 18 | |
|
19 | 19 | figpath = '/home/operaciones/Pictures/150km_jicamarca_january' |
|
20 | 20 | |
|
21 | 21 | readUnitConfObj = controllerObj.addReadUnit(datatype='VoltageReader', |
|
22 | 22 | path=path, |
|
23 |
startDate='2015/01/1 |
|
|
23 | startDate='2015/01/14', | |
|
24 | 24 | endDate='2015/01/30', |
|
25 |
startTime=' |
|
|
25 | startTime='07:40:00', | |
|
26 | 26 | endTime='23:59:59', |
|
27 |
online= |
|
|
27 | online=1, | |
|
28 | 28 | delay=10, |
|
29 | 29 | walk=1, |
|
30 | 30 | getblock=1) |
@@ -33,27 +33,69 opObj11 = readUnitConfObj.addOperation(name='printNumberOfBlock') | |||
|
33 | 33 | |
|
34 | 34 | procUnitConfObj0 = controllerObj.addProcUnit(datatype='VoltageProc', inputId=readUnitConfObj.getId()) |
|
35 | 35 | |
|
36 | # opObj11 = procUnitConfObj0.addOperation(name='ProfileSelector', optype='other') | |
|
37 | # opObj11.addParameter(name='profileRangeList', value='0,20', format='intlist') | |
|
38 | 36 | |
|
39 | 37 | |
|
38 | a=[] | |
|
39 | for i in range(21): | |
|
40 | a.append(i) | |
|
41 | for i in range(106): | |
|
42 | if i>84: | |
|
43 | a.append(i) | |
|
44 | for i in range(211): | |
|
45 | if i>189: | |
|
46 | a.append(i) | |
|
47 | for i in range(316): | |
|
48 | if 315>i>294: | |
|
49 | a.append(i) | |
|
50 | if i==315: | |
|
51 | a.append(i) | |
|
52 | ||
|
53 | ||
|
54 | b= str(a) | |
|
55 | profileIndex = b[1:][:-1] | |
|
56 | print profileIndex | |
|
57 | ||
|
40 | 58 | opObj11 = procUnitConfObj0.addOperation(name='ProfileSelector', optype='other') |
|
41 | 59 | # profileIndex = '20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99' |
|
42 |
|
|
|
43 | opObj11.addParameter(name='profileRangeList', value='0,20', format='intlist') | |
|
60 | opObj11.addParameter(name='profileList', value=profileIndex, format='intlist') | |
|
61 | ||
|
62 | #opObj11.addParameter(name='profileRangeList', value='0,20', format='intlist') | |
|
44 | 63 | opObj11.addParameter(name='byblock', value='1', format='bool') |
|
45 | 64 | |
|
46 | 65 | # opObj11 = procUnitConfObjISR.addOperation(name='ProfileConcat', optype='other') |
|
47 | 66 | # opObj11.addParameter(name='m', value='5', format='int') |
|
48 | 67 | |
|
49 | 68 | opObj11 = procUnitConfObj0.addOperation(name='Reshaper', optype='other') #Esta Operacion opera sobre bloques y reemplaza el ProfileConcat que opera sobre perfiles |
|
50 |
opObj11.addParameter(name='shape', value='8, |
|
|
69 | opObj11.addParameter(name='shape', value='8,336,140', format='intlist') # shape = (nchannels, nprofiles, nhieghts) | |
|
70 | ||
|
51 | 71 | |
|
72 | a=[] | |
|
73 | for i in range(81): | |
|
74 | if i>0: | |
|
75 | a.append(i) | |
|
76 | ||
|
77 | for i in range(165): | |
|
78 | if i>84: | |
|
79 | a.append(i) | |
|
80 | for i in range(249): | |
|
81 | if i>168: | |
|
82 | a.append(i) | |
|
83 | for i in range(333): | |
|
84 | if 332>i>252: | |
|
85 | a.append(i) | |
|
86 | if i==332: | |
|
87 | a.append(i) | |
|
88 | ||
|
89 | ||
|
90 | b= str(a) | |
|
91 | profileIndex1 = b[1:][:-1] | |
|
92 | ||
|
93 | print profileIndex1 | |
|
52 | 94 | |
|
53 | 95 | opObj11 = procUnitConfObj0.addOperation(name='ProfileSelector', optype='other') |
|
54 | 96 | # profileIndex = '20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99' |
|
55 |
|
|
|
56 | opObj11.addParameter(name='profileRangeList', value='1,80', format='intlist') | |
|
97 | opObj11.addParameter(name='profileList', value=profileIndex1, format='intlist') | |
|
98 | #opObj11.addParameter(name='profileRangeList', value='1,80', format='intlist') | |
|
57 | 99 | opObj11.addParameter(name='byblock', value='1', format='bool') |
|
58 | 100 | |
|
59 | 101 | |
@@ -69,7 +111,7 opObj11.addParameter(name='code', value=cod7barker, format='floatlist') | |||
|
69 | 111 | opObj11.addParameter(name='nCode', value='4', format='int') |
|
70 | 112 | opObj11.addParameter(name='nBaud', value='7', format='int') |
|
71 | 113 | opObj11.addParameter(name='mode', value='3', format='int') |
|
72 |
opObj11.addParameter(name='times', value=' |
|
|
114 | opObj11.addParameter(name='times', value='80', format='int') | |
|
73 | 115 | opObj11.addParameter(name='osamp', value='1', format='int') |
|
74 | 116 | |
|
75 | 117 | opObj11 = procUnitConfObj0.addOperation(name='deFlip') |
@@ -96,40 +138,58 opObj11.addParameter(name='channelList', value='1,3,5,7', format='intlist') | |||
|
96 | 138 | |
|
97 | 139 | procUnitConfObj1 = controllerObj.addProcUnit(datatype='SpectraProc', inputId=procUnitConfObj0.getId()) |
|
98 | 140 | procUnitConfObj1.addParameter(name='nFFTPoints', value='80', format='int') |
|
99 |
procUnitConfObj1.addParameter(name='nProfiles', value=' |
|
|
100 | procUnitConfObj1.addParameter(name='pairsList', value='(0,1),(2,3),(4,5),(6,7)', format='pairsList') | |
|
141 | procUnitConfObj1.addParameter(name='nProfiles', value='320', format='int') | |
|
142 | ||
|
143 | procUnitConfObj1.addParameter(name='pairsList', value='(1,0),(3,2),(5,4),(7,6)', format='pairsList') | |
|
101 | 144 | |
|
145 | # | |
|
102 | 146 | opObj11 = procUnitConfObj1.addOperation(name='IncohInt', optype='other') |
|
103 |
opObj11.addParameter(name='timeInterval', value=' |
|
|
147 | opObj11.addParameter(name='timeInterval', value='60', format='float') | |
|
104 | 148 | # |
|
105 | opObj11 = procUnitConfObj1.addOperation(name='SpectraPlot', optype='other') | |
|
106 | opObj11.addParameter(name='id', value='2004', format='int') | |
|
107 | opObj11.addParameter(name='wintitle', value='150km_Jicamarca_ShortPulse', format='str') | |
|
108 | #opObj11.addParameter(name='channelList', value='0,1,2,3,45', format='intlist') | |
|
109 | #opObj11.addParameter(name='zmin', value='15', format='int') | |
|
110 |
# |
|
|
149 | # opObj11 = procUnitConfObj1.addOperation(name='SpectraPlot', optype='other') | |
|
150 | # opObj11.addParameter(name='id', value='2004', format='int') | |
|
151 | # opObj11.addParameter(name='wintitle', value='150km_Jicamarca_ShortPulse', format='str') | |
|
152 | # #opObj11.addParameter(name='channelList', value='0,1,2,3,45', format='intlist') | |
|
153 | # opObj11.addParameter(name='zmin', value='15', format='int') | |
|
154 | # opObj11.addParameter(name='zmax', value='45', format='int') | |
|
111 | 155 | # opObj11.addParameter(name='figpath', value=figpath, format='str') |
|
112 | 156 | # opObj11.addParameter(name='exp_code', value='13', format='int') |
|
113 | 157 | |
|
114 | 158 | |
|
115 | 159 | opObj11 = procUnitConfObj1.addOperation(name='CrossSpectraPlot', optype='other') |
|
116 |
opObj11.addParameter(name='id', value='200 |
|
|
160 | opObj11.addParameter(name='id', value='2006', format='int') | |
|
117 | 161 | opObj11.addParameter(name='wintitle', value='CrossSpectraPlot_ShortPulse', format='str') |
|
118 |
|
|
|
119 |
|
|
|
162 | opObj11.addParameter(name='ymin', value='0', format='int') | |
|
163 | opObj11.addParameter(name='ymax', value='105', format='int') | |
|
164 | ||
|
165 | opObj11.addParameter(name='zmin', value='15', format='int') | |
|
166 | opObj11.addParameter(name='zmax', value='45', format='int') | |
|
167 | opObj11.addParameter(name='figpath', value=figpath, format='str') | |
|
168 | opObj11.addParameter(name='exp_code', value='13', format='int') | |
|
120 | 169 | |
|
121 | 170 | |
|
171 | opObj11 = procUnitConfObj1.addOperation(name='CoherenceMap', optype='other') | |
|
172 | opObj11.addParameter(name='id', value='102', format='int') | |
|
173 | opObj11.addParameter(name='wintitle', value='Coherence', format='str') | |
|
174 | opObj11.addParameter(name='phase_cmap', value='jet', format='str') | |
|
175 | ||
|
176 | # | |
|
177 | # opObj11.addParameter(name='xmin', value='0', format='int') | |
|
178 | # opObj11.addParameter(name='xmax', value='24', format='int') | |
|
179 | # opObj11.addParameter(name='figpath', value=figpath, format='str') | |
|
180 | # opObj11.addParameter(name='wr_period', value='2', format='int') | |
|
181 | ||
|
122 | 182 | |
|
123 | opObj11 = procUnitConfObj1.addOperation(name='RTIPlot', optype='other') | |
|
124 | opObj11.addParameter(name='id', value='3005', format='int') | |
|
125 | opObj11.addParameter(name='wintitle', value='150km_Jicamarca_ShortPulse', format='str') | |
|
126 | # opObj11.addParameter(name='xmin', value='20.5', format='float') | |
|
127 | # opObj11.addParameter(name='xmax', value='24', format='float') | |
|
183 | # opObj11 = procUnitConfObj1.addOperation(name='RTIPlot', optype='other') | |
|
184 | # opObj11.addParameter(name='id', value='3005', format='int') | |
|
185 | # opObj11.addParameter(name='wintitle', value='150km_Jicamarca_ShortPulse', format='str') | |
|
186 | # # opObj11.addParameter(name='xmin', value='20.5', format='float') | |
|
187 | # # opObj11.addParameter(name='xmax', value='24', format='float') | |
|
128 | 188 | # opObj11.addParameter(name='zmin', value='15', format='int') |
|
129 | 189 | # opObj11.addParameter(name='zmax', value='45', format='int') |
|
130 | #opObj11.addParameter(name='channelList', value='0,1,2,3', format='intlist') | |
|
131 | #opObj11.addParameter(name='channelList', value='0,1,2,3,4,5,6,7', format='intlist') | |
|
132 | opObj11.addParameter(name='showprofile', value='0', format='int') | |
|
190 | # #opObj11.addParameter(name='channelList', value='0,1,2,3', format='intlist') | |
|
191 | # #opObj11.addParameter(name='channelList', value='0,1,2,3,4,5,6,7', format='intlist') | |
|
192 | # opObj11.addParameter(name='showprofile', value='0', format='int') | |
|
133 | 193 | # opObj11.addParameter(name='figpath', value=figpath, format='str') |
|
134 | 194 | # opObj11.addParameter(name='exp_code', value='13', format='int') |
|
135 | 195 |
General Comments 0
You need to be logged in to leave comments.
Login now