def btnRedraw_handler(self, event): self.plots = [] first_wavelet = self.wavelets[0][0].get_wavelet() cnt = 1 for scale in range(first_wavelet.shape[0]-1,0, -1): cnt += 1 graph = self.wavelets[0][0].get_wavelet()[scale, :] for w in self.wavelets[1:]: ww = w[0].get_wavelet() off = w[2] wavelet_scale=ww[scale, :] graph = numpy.vstack((graph, wavelet_scale)) PyplotPlotter.pyplot_add_plot(self, graph.T) PyplotPlotter.pyplot_plot(self)
def plot(self): PyplotPlotter.pyplot_plot(self)