@@ -9,7 +9,7 class CrossSpectraPlot(Figure): | |||
|
9 | 9 | |
|
10 | 10 | WIDTHPROF = None |
|
11 | 11 | HEIGHTPROF = None |
|
12 | PREFIX = 'spc' | |
|
12 | PREFIX = 'cspc' | |
|
13 | 13 | |
|
14 | 14 | def __init__(self): |
|
15 | 15 | |
@@ -82,6 +82,9 class CrossSpectraPlot(Figure): | |||
|
82 | 82 | if pairsIndexList == []: |
|
83 | 83 | return |
|
84 | 84 | |
|
85 | if len(pairsIndexList) > 4: | |
|
86 | pairsIndexList = pairsIndexList[0:4] | |
|
87 | ||
|
85 | 88 | x = dataOut.getFreqRange(1) |
|
86 | 89 | y = dataOut.getHeiRange() |
|
87 | 90 | z = 10.*numpy.log10(dataOut.data_spc[:,:,:]) |
@@ -108,7 +111,7 class CrossSpectraPlot(Figure): | |||
|
108 | 111 | self.__isConfig = True |
|
109 | 112 | |
|
110 | 113 | thisDatetime = dataOut.datatime |
|
111 | title = "Spectra: %s" %(thisDatetime.strftime("%d-%b-%Y %H:%M:%S")) | |
|
114 | title = "Cross-Spectra: %s" %(thisDatetime.strftime("%d-%b-%Y %H:%M:%S")) | |
|
112 | 115 | xlabel = "Velocity (m/s)" |
|
113 | 116 | ylabel = "Range (Km)" |
|
114 | 117 | |
@@ -226,7 +229,7 class RTIPlot(Figure): | |||
|
226 | 229 | |
|
227 | 230 | def __getTimeLim(self, x, xmin, xmax): |
|
228 | 231 | |
|
229 |
thisdatetime = datetime.datetime. |
|
|
232 | thisdatetime = datetime.datetime.fromtimestamp(numpy.min(x)) | |
|
230 | 233 | thisdate = datetime.datetime.combine(thisdatetime.date(), datetime.time(0,0,0)) |
|
231 | 234 | |
|
232 | 235 | #################################################### |
General Comments 0
You need to be logged in to leave comments.
Login now