##// END OF EJS Templates
Se ploteo el valor maximo del espectro, SpectraHeis
Daniel Valdez -
r336:be49c974ff74
parent child
Show More
@@ -1149,9 +1149,9 class SpectraHeisScope(Figure):
1149 self.setWinTitle(title)
1149 self.setWinTitle(title)
1150
1150
1151 for i in range(len(self.axesList)):
1151 for i in range(len(self.axesList)):
1152 title = "Channel %d" %(i)
1153 axes = self.axesList[i]
1154 ychannel = y[i,:]
1152 ychannel = y[i,:]
1153 title = "Channel %d - peak:%.2f" %(i,numpy.max(ychannel))
1154 axes = self.axesList[i]
1155 axes.pline(x, ychannel,
1155 axes.pline(x, ychannel,
1156 xmin=xmin, xmax=xmax, ymin=ymin, ymax=ymax,
1156 xmin=xmin, xmax=xmax, ymin=ymin, ymax=ymax,
1157 xlabel=xlabel, ylabel=ylabel, title=title)
1157 xlabel=xlabel, ylabel=ylabel, title=title)
General Comments 0
You need to be logged in to leave comments. Login now