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