def __plot_peaks(self): sweep, indices = get_peaks(self.data, self.settings.peaksThres) for i in indices: self.axes.plot(sweep.keys()[i], sweep.values()[i], linestyle='None', marker='+', markersize=10, color='r', gid='peakThres')
def __plot_peaks(self): sweep, indices = get_peaks(self.data, self.settings.peaksThres) lastTime = utc_to_mpl(max(self.data)) for i in indices: self.axes.plot(sweep.keys()[i], lastTime, linestyle='None', marker='+', markersize=10, color='r', gid='peakThres')