aaren / wavelets

Python implementation of the wavelet analysis found in Torrence and Compo (1998)
299 stars 111 forks source link

memory issue #17

Open elmiramb opened 7 years ago

elmiramb commented 7 years ago

Hi, Thank you so much for creating such a nice wavelet package! Did you happen to have a problem with wavelet power calculation for large time series data? it seems there is a memory leakage problem. Thanks!

shixun22 commented 7 years ago

Hi, I've been using this package recently and do not find a memory leakage problem. The only place in the code that I find the memory management is far from optimal is self.compute_Cdelta. One can easily modify it by doing the w_k-average for each scale rather than using mesh_grid. Hope this helps!