@@ -50,8 +50,8 def main(args): | |||||
50 | N = int(1/(speed_axis[0]*ipp)) # 1 GRADO DE RESOLUCION |
|
50 | N = int(1/(speed_axis[0]*ipp)) # 1 GRADO DE RESOLUCION | |
51 | path = os.path.join(PATH, experiment, 'rawdata') |
|
51 | path = os.path.join(PATH, experiment, 'rawdata') | |
52 | path_ped = os.path.join(PATH, experiment, 'position') |
|
52 | path_ped = os.path.join(PATH, experiment, 'position') | |
53 |
path_plots = os.path.join(PATH, experiment, 'plots |
|
53 | path_plots = os.path.join(PATH, experiment, 'plotsC0_PM_R'+str(args.range)+'km') | |
54 | path_save = os.path.join(PATH, experiment, 'param') |
|
54 | path_save = os.path.join(PATH, experiment, 'paramC0_PM_R'+str(args.range)+'km_1.62km') | |
55 | RMIX = 1.62 |
|
55 | RMIX = 1.62 | |
56 |
|
56 | |||
57 | from schainpy.controller import Project |
|
57 | from schainpy.controller import Project |
@@ -33,12 +33,12 conf = json.loads(fp.read()) | |||||
33 | ####################################################################### |
|
33 | ####################################################################### | |
34 | ################# RANGO DE PLOTEO###################################### |
|
34 | ################# RANGO DE PLOTEO###################################### | |
35 | ####################################################################### |
|
35 | ####################################################################### | |
36 |
dBmin = '- |
|
36 | dBmin = '-55'#'-20' | |
37 |
dBmax = ' |
|
37 | dBmax = '-35'#'-85' | |
38 | xmin = '0' |
|
38 | xmin = '0' | |
39 | xmax ='24' |
|
39 | xmax ='24' | |
40 | ymin = '0' |
|
40 | ymin = '0' | |
41 |
ymax = ' |
|
41 | ymax = '15' | |
42 | ####################################################################### |
|
42 | ####################################################################### | |
43 | ########################FECHA########################################## |
|
43 | ########################FECHA########################################## | |
44 | ####################################################################### |
|
44 | ####################################################################### | |
@@ -53,7 +53,7 readUnitConfObj = controllerObj.addReadUnit(datatype='DigitalRFReader', | |||||
53 | path=path, |
|
53 | path=path, | |
54 | startDate="2022/05/31",#today, |
|
54 | startDate="2022/05/31",#today, | |
55 | endDate="2022/05/31",#today, |
|
55 | endDate="2022/05/31",#today, | |
56 |
startTime=' |
|
56 | startTime='16:26:00',# inicio libre | |
57 | #startTime='00:00:00', |
|
57 | #startTime='00:00:00', | |
58 | endTime='23:59:59', |
|
58 | endTime='23:59:59', | |
59 | delay=0, |
|
59 | delay=0, | |
@@ -221,9 +221,26 opObj11.addParameter(name='showprofile', value='1', format='int') | |||||
221 | opObj11.addParameter(name='save', value=figpath, format='str') |
|
221 | opObj11.addParameter(name='save', value=figpath, format='str') | |
222 | opObj11.addParameter(name='save_period', value=10, format='int') |
|
222 | opObj11.addParameter(name='save_period', value=10, format='int') | |
223 | ''' |
|
223 | ''' | |
|
224 | procUnitConfObjC= controllerObj.addProcUnit(datatype='ParametersProc',inputId=procUnitConfObjB.getId()) | |||
|
225 | procUnitConfObjC.addOperation(name='SpectralMoments') | |||
|
226 | #opObj11 = procUnitConfObjC.addOperation(name='PowerPlot') | |||
|
227 | ||||
|
228 | ''' | |||
|
229 | opObj11 = procUnitConfObjC.addOperation(name='SpectralMomentsPlot') | |||
|
230 | #opObj11.addParameter(name='xmin', value=14) | |||
|
231 | #opObj11.addParameter(name='xmax', value=15) | |||
|
232 | opObj11.addParameter(name='save', value=figpath) | |||
|
233 | opObj11.addParameter(name='showprofile', value=1) | |||
|
234 | opObj11.addParameter(name='save_period', value=10) | |||
|
235 | ||||
|
236 | ''' | |||
|
237 | opObj11 = procUnitConfObjC.addOperation(name='SpectralWidthPlot') | |||
|
238 | opObj11.addParameter(name='showprofile', value=1) | |||
224 |
|
239 | |||
225 | #SpectraPlot |
|
|||
226 |
|
240 | |||
|
241 | ||||
|
242 | #SpectraPlot | |||
|
243 | ''' | |||
227 | opObj11 = procUnitConfObjB.addOperation(name='SpectraPlot', optype='external') |
|
244 | opObj11 = procUnitConfObjB.addOperation(name='SpectraPlot', optype='external') | |
228 | opObj11.addParameter(name='id', value='1', format='int') |
|
245 | opObj11.addParameter(name='id', value='1', format='int') | |
229 | opObj11.addParameter(name='wintitle', value='Spectra', format='str') |
|
246 | opObj11.addParameter(name='wintitle', value='Spectra', format='str') | |
@@ -235,7 +252,7 opObj11.addParameter(name='ymin', value=ymin, format='int') | |||||
235 | opObj11.addParameter(name='ymax', value=ymax, format='int') |
|
252 | opObj11.addParameter(name='ymax', value=ymax, format='int') | |
236 | opObj11.addParameter(name='showprofile', value='1', format='int') |
|
253 | opObj11.addParameter(name='showprofile', value='1', format='int') | |
237 | opObj11.addParameter(name='save', value=figpath, format='str') |
|
254 | opObj11.addParameter(name='save', value=figpath, format='str') | |
238 |
|
255 | ''' | ||
239 | #RTIPLOT |
|
256 | #RTIPLOT | |
240 | ''' |
|
257 | ''' | |
241 | opObj11 = procUnitConfObjB.addOperation(name='RTIPlot', optype='external') |
|
258 | opObj11 = procUnitConfObjB.addOperation(name='RTIPlot', optype='external') |
@@ -50,8 +50,8 def main(args): | |||||
50 | N = int(1/(speed_axis[0]*ipp)) # 1 GRADO DE RESOLUCION |
|
50 | N = int(1/(speed_axis[0]*ipp)) # 1 GRADO DE RESOLUCION | |
51 | path = os.path.join(PATH, experiment, 'rawdata') |
|
51 | path = os.path.join(PATH, experiment, 'rawdata') | |
52 | path_ped = os.path.join(PATH, experiment, 'position') |
|
52 | path_ped = os.path.join(PATH, experiment, 'position') | |
53 | path_plots = os.path.join(PATH, experiment, 'plotsC0_PL_R'+str(args.range)+'km') |
|
53 | path_plots = os.path.join(PATH, experiment, 'plotsC0_PL_R'+str(args.range)+'km_removeDC') | |
54 | path_save = os.path.join(PATH, experiment, 'paramC0_PL_R'+str(args.range)+'km') |
|
54 | path_save = os.path.join(PATH, experiment, 'paramC0_PL_R'+str(args.range)+'km_removeDC') | |
55 | RMIX = 1.62 |
|
55 | RMIX = 1.62 | |
56 |
|
56 | |||
57 | from schainpy.controller import Project |
|
57 | from schainpy.controller import Project | |
@@ -106,6 +106,8 def main(args): | |||||
106 |
|
106 | |||
107 | op = voltage.addOperation(name='PulsePair_vRF', optype='other') |
|
107 | op = voltage.addOperation(name='PulsePair_vRF', optype='other') | |
108 | op.addParameter(name='n', value=int(conf['usrp_tx']['repetitions_1'])/2, format='int') |
|
108 | op.addParameter(name='n', value=int(conf['usrp_tx']['repetitions_1'])/2, format='int') | |
|
109 | op.addParameter(name='removeDC', value=1, format='int') | |||
|
110 | ||||
109 |
|
111 | |||
110 | proc = project.addProcUnit(datatype='ParametersProc', inputId=voltage.getId()) |
|
112 | proc = project.addProcUnit(datatype='ParametersProc', inputId=voltage.getId()) | |
111 |
|
113 |
General Comments 0
You need to be logged in to leave comments.
Login now