##// END OF EJS Templates
Fix timeInterval for Parameters
Juan C. Espinoza -
r928:e38e14e54937
parent child
Show More
@@ -1208,15 +1208,18 class Parameters(Spectra):
1208 1208 else:
1209 1209 time1 = self.utctimeInit
1210 1210
1211 # datatime.append(self.utctimeInit)
1212 # datatime.append(self.utctimeInit + self.outputInterval)
1213 1211 datatime.append(time1)
1214 1212 datatime.append(time1 + interval)
1215
1216 1213 datatime = numpy.array(datatime)
1217 1214
1218 1215 return datatime
1219 1216
1220 1217 def getTimeInterval(self):
1221 1218
1222 return self.paramInterval
1219 return self.timeInterval1
1220
1221 def getNoise(self):
1222
1223 return self.spc_noise
1224
1225 timeInterval = property(getTimeInterval)
@@ -846,7 +846,7 class ParamWriter(Operation):
846 846 else:
847 847 setFile = -1 #inicializo mi contador de seteo
848 848 else:
849 os.mkdir(fullpath)
849 os.makedirs(fullpath)
850 850 setFile = -1 #inicializo mi contador de seteo
851 851
852 852 setFile += 1
@@ -54,7 +54,7 class ParametersProc(ProcessingUnit):
54 54 # self.dataOut.nIncohInt = 1
55 55 self.dataOut.ippSeconds = self.dataIn.ippSeconds
56 56 # self.dataOut.windowOfFilter = self.dataIn.windowOfFilter
57 # self.dataOut.timeInterval = self.dataIn.timeInterval
57 self.dataOut.timeInterval1 = self.dataIn.timeInterval
58 58 self.dataOut.heightList = self.dataIn.getHeiRange()
59 59 self.dataOut.frequency = self.dataIn.frequency
60 60 #self.dataOut.noise = self.dataIn.noise
General Comments 0
You need to be logged in to leave comments. Login now