##// END OF EJS Templates
cambio en el deltatime
Daniel Valdez -
r280:1a1100696749
parent child
Show More
@@ -973,9 +973,12 class IncohInt(Operation):
973
973
974 __dataReady = False
974 __dataReady = False
975
975
976 __timeInterval = None
977
976 n = None
978 n = None
977
979
978
980
981
979 def __init__(self):
982 def __init__(self):
980
983
981 self.__isConfig = False
984 self.__isConfig = False
@@ -1188,6 +1191,7 class IncohInt(Operation):
1188 return None, None, None, None
1191 return None, None, None, None
1189
1192
1190 avgdatatime = self.__initime
1193 avgdatatime = self.__initime
1194 self.__timeInterval = (self.__lastdatatime - self.__initime)/(self.n - 1)
1191
1195
1192 deltatime = datatime -self.__lastdatatime
1196 deltatime = datatime -self.__lastdatatime
1193
1197
@@ -1220,7 +1224,8 class IncohInt(Operation):
1220
1224
1221 dataOut.nIncohInt *= self.n
1225 dataOut.nIncohInt *= self.n
1222 dataOut.utctime = avgdatatime
1226 dataOut.utctime = avgdatatime
1223 dataOut.timeInterval = dataOut.ippSeconds * dataOut.nCohInt * dataOut.nIncohInt * dataOut.nFFTPoints
1227 #dataOut.timeInterval = dataOut.ippSeconds * dataOut.nCohInt * dataOut.nIncohInt * dataOut.nFFTPoints
1228 dataOut.timeInterval = self.__timeInterval*self.n
1224 dataOut.flagNoData = False
1229 dataOut.flagNoData = False
1225
1230
1226 class ProfileSelector(Operation):
1231 class ProfileSelector(Operation):
General Comments 0
You need to be logged in to leave comments. Login now