##// END OF EJS Templates
-jrodata, parameters class bug fixed...
Julio Valdez -
r550:5ffe99434b98
parent child
Show More
@@ -983,7 +983,7 class Parameters(JROData):
983 983
984 984 noise = None #Noise Potency
985 985
986 initUtcTime = None #Initial UTC time
986 utctimeInit = None #Initial UTC time
987 987
988 988 paramInterval = None #Time interval to calculate Parameters in seconds
989 989
@@ -1017,8 +1017,8 class Parameters(JROData):
1017 1017
1018 1018 datatime = []
1019 1019
1020 datatime.append(self.initUtcTime)
1021 datatime.append(self.initUtcTime + self.outputInterval - 1)
1020 datatime.append(self.utctimeInit)
1021 datatime.append(self.utctimeInit + self.outputInterval - 1)
1022 1022
1023 1023 datatime = numpy.array(datatime)
1024 1024
@@ -678,7 +678,7 class ParametersPlot(Figure):
678 678 if channelList == None:
679 679 channelIndexList = numpy.arange(data_param.shape[0])
680 680 else:
681 channelIndexList = numpy.array(channelIndexList)
681 channelIndexList = numpy.array(channelList)
682 682
683 683 nchan = len(channelIndexList) #Number of channels being plotted
684 684
@@ -698,7 +698,7 class ParametersPlot(Figure):
698 698 # thisDatetime = dataOut.datatime
699 699
700 700 if dataOut.data_SNR != None:
701 SNRarray = dataOut.data_SNR
701 SNRarray = dataOut.data_SNR[channelIndexList,:]
702 702 SNRdB = 10*numpy.log10(SNRarray)
703 703 # SNRavgdB = 10*numpy.log10(SNRavg)
704 704 ind = numpy.where(SNRdB < 10**(SNRthresh/10))
General Comments 0
You need to be logged in to leave comments. Login now