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