Open apatlpo opened 6 years ago
Yes, you can only do a low-pass filtering for the moment. I usually estimate the high-pass component by subtracting the low-pass component to the original field. Implementing high-pass filtering would just require to set 1 - low-pass kernel. The band-pass would require to make a composition of a high-pass and a low pass-kernel. Feel free to modify the code in xscale.window.linearfilters.Window.set
and submit a pull request if you want this functionality added to xscale
.
hi Guillaume, how about a lanczos "window" like you had added in oocgcm?
I've got the feeling this is not implemented yet, while
scipy.signal.firwin
allows in principle. Does anybody confirm?