@@ -24,14 +24,17 controllerObj.setup(id = '191', name='Test_USRP', description=desc) | |||||
24 | ####################################################################### |
|
24 | ####################################################################### | |
25 | #path = '/media/data/data/vientos/57.2063km/echoes/NCO_Woodman' |
|
25 | #path = '/media/data/data/vientos/57.2063km/echoes/NCO_Woodman' | |
26 | #path = '/DATA_RM/TEST_INTEGRACION' |
|
26 | #path = '/DATA_RM/TEST_INTEGRACION' | |
27 | path = '/DATA_RM/TEST_ONLINE' |
|
27 | #path = '/DATA_RM/TEST_ONLINE' | |
28 | figpath = '/home/soporte/Pictures/TEST_INTEGRACION_IMG' |
|
28 | #path ="/DATA_RM/TEST_LU_21_10M/NOISE_LNA_ON_TX_OFF" | |
|
29 | #path ="/DATA_RM/TEST_LU_21_10M/NOISE_LNA_OFF_TX_OFF" | |||
|
30 | path = "/DATA_RM/TEST_LU_21_10M/SIGNAL_LNA_ON_TX_ON" | |||
|
31 | figpath = '/home/soporte/Pictures/TEST_LU_VI_10M_SIGNAL_LNA_ON_TX_ON_ZOOM' | |||
29 | #remotefolder = "/home/wmaster/graficos" |
|
32 | #remotefolder = "/home/wmaster/graficos" | |
30 | ####################################################################### |
|
33 | ####################################################################### | |
31 | ################# RANGO DE PLOTEO###################################### |
|
34 | ################# RANGO DE PLOTEO###################################### | |
32 | ####################################################################### |
|
35 | ####################################################################### | |
33 |
dBmin = ' |
|
36 | dBmin = '20' | |
34 |
dBmax = ' |
|
37 | dBmax = '60' | |
35 | xmin = '0' |
|
38 | xmin = '0' | |
36 | xmax ='24' |
|
39 | xmax ='24' | |
37 | ymin = '0' |
|
40 | ymin = '0' | |
@@ -48,8 +51,8 yesterday = str2.strftime("%Y/%m/%d") | |||||
48 | ####################################################################### |
|
51 | ####################################################################### | |
49 | readUnitConfObj = controllerObj.addReadUnit(datatype='DigitalRFReader', |
|
52 | readUnitConfObj = controllerObj.addReadUnit(datatype='DigitalRFReader', | |
50 | path=path, |
|
53 | path=path, | |
51 |
startDate="202 |
|
54 | startDate="2022/03/21",#today, | |
52 |
endDate="202 |
|
55 | endDate="2022/03/21",#today, | |
53 | startTime='00:00:00', |
|
56 | startTime='00:00:00', | |
54 | endTime='23:59:59', |
|
57 | endTime='23:59:59', | |
55 | delay=0, |
|
58 | delay=0, | |
@@ -71,6 +74,12 procUnitConfObjA = controllerObj.addProcUnit(datatype='VoltageProc', inputId=rea | |||||
71 |
|
74 | |||
72 | #opObj11 = procUnitConfObjA.addOperation(name='setRadarFrequency') |
|
75 | #opObj11 = procUnitConfObjA.addOperation(name='setRadarFrequency') | |
73 | #opObj11.addParameter(name='frequency', value='70312500') |
|
76 | #opObj11.addParameter(name='frequency', value='70312500') | |
|
77 | opObj11 = procUnitConfObjA.addOperation(name='selectHeights') | |||
|
78 | opObj11.addParameter(name='minIndex', value='1', format='int') | |||
|
79 | # opObj11.addParameter(name='maxIndex', value='10000', format='int') | |||
|
80 | opObj11.addParameter(name='maxIndex', value='1000', format='int') | |||
|
81 | ||||
|
82 | ||||
74 |
|
83 | |||
75 | ''' |
|
84 | ''' | |
76 | opObj11 = procUnitConfObjA.addOperation(name='PulsePair', optype='other') |
|
85 | opObj11 = procUnitConfObjA.addOperation(name='PulsePair', optype='other') | |
@@ -145,11 +154,11 procUnitConfObjB = controllerObj.addProcUnit(datatype='SpectraProc', inputId=pro | |||||
145 | procUnitConfObjB.addParameter(name='nFFTPoints', value='32', format='int') |
|
154 | procUnitConfObjB.addParameter(name='nFFTPoints', value='32', format='int') | |
146 | procUnitConfObjB.addParameter(name='nProfiles', value='32', format='int') |
|
155 | procUnitConfObjB.addParameter(name='nProfiles', value='32', format='int') | |
147 |
|
156 | |||
148 | procUnitConfObjC = controllerObj.addProcUnit(datatype='SpectraHeisProc', inputId=procUnitConfObjA.getId()) |
|
157 | #procUnitConfObjC = controllerObj.addProcUnit(datatype='SpectraHeisProc', inputId=procUnitConfObjA.getId()) | |
149 | #procUnitConfObjB.addParameter(name='nFFTPoints', value='64', format='int') |
|
158 | #procUnitConfObjB.addParameter(name='nFFTPoints', value='64', format='int') | |
150 | #procUnitConfObjB.addParameter(name='nProfiles', value='64', format='int') |
|
159 | #procUnitConfObjB.addParameter(name='nProfiles', value='64', format='int') | |
151 | opObj11 = procUnitConfObjC.addOperation(name='IncohInt4SpectraHeis', optype='other') |
|
160 | #opObj11 = procUnitConfObjC.addOperation(name='IncohInt4SpectraHeis', optype='other') | |
152 | opObj11.addParameter(name='timeInterval', value='8', format='int') |
|
161 | #opObj11.addParameter(name='timeInterval', value='8', format='int') | |
153 |
|
162 | |||
154 |
|
163 | |||
155 | #procUnitConfObjB.addParameter(name='pairsList', value='(0,0),(1,1),(0,1)', format='pairsList') |
|
164 | #procUnitConfObjB.addParameter(name='pairsList', value='(0,0),(1,1),(0,1)', format='pairsList') | |
@@ -157,13 +166,13 opObj11.addParameter(name='timeInterval', value='8', format='int') | |||||
157 | #opObj13 = procUnitConfObjB.addOperation(name='removeDC') |
|
166 | #opObj13 = procUnitConfObjB.addOperation(name='removeDC') | |
158 | #opObj13.addParameter(name='mode', value='2', format='int') |
|
167 | #opObj13.addParameter(name='mode', value='2', format='int') | |
159 |
|
168 | |||
160 | opObj11 = procUnitConfObjB.addOperation(name='IncohInt', optype='other') |
|
169 | #opObj11 = procUnitConfObjB.addOperation(name='IncohInt', optype='other') | |
161 | opObj11.addParameter(name='n', value='8', format='float') |
|
170 | #opObj11.addParameter(name='n', value='8', format='float') | |
162 | ####################################################################### |
|
171 | ####################################################################### | |
163 | ########## PLOTEO DOMINIO DE LA FRECUENCIA############################# |
|
172 | ########## PLOTEO DOMINIO DE LA FRECUENCIA############################# | |
164 | ####################################################################### |
|
173 | ####################################################################### | |
165 | #---- |
|
174 | #---- | |
166 |
|
175 | """ | ||
167 | opObj11 = procUnitConfObjC.addOperation(name='SpectraHeisPlot') |
|
176 | opObj11 = procUnitConfObjC.addOperation(name='SpectraHeisPlot') | |
168 | opObj11.addParameter(name='id', value='10', format='int') |
|
177 | opObj11.addParameter(name='id', value='10', format='int') | |
169 | opObj11.addParameter(name='wintitle', value='Spectra_Alturas', format='str') |
|
178 | opObj11.addParameter(name='wintitle', value='Spectra_Alturas', format='str') | |
@@ -176,7 +185,7 opObj11.addParameter(name='ymax', value=50, format='int') | |||||
176 | opObj11.addParameter(name='showprofile', value='1', format='int') |
|
185 | opObj11.addParameter(name='showprofile', value='1', format='int') | |
177 | opObj11.addParameter(name='save', value=figpath, format='str') |
|
186 | opObj11.addParameter(name='save', value=figpath, format='str') | |
178 | opObj11.addParameter(name='save_period', value=10, format='int') |
|
187 | opObj11.addParameter(name='save_period', value=10, format='int') | |
179 |
|
188 | """ | ||
180 |
|
189 | |||
181 | #SpectraPlot |
|
190 | #SpectraPlot | |
182 |
|
191 |
General Comments 0
You need to be logged in to leave comments.
Login now