obspy.signal.interpolation.plot_lanczos_windows

plot_lanczos_windows(a, filename=None)[source]

Helper function producing a plot of all available tapers of the sinc function and their response for the Lanczos interpolation.

Parameters:
  • a (int) The width of the window in samples on either side.
  • filename (str) The file name to save to. The plot will be shown if it is not given.
from obspy.signal.interpolation import plot_lanczos_windows
plot_lanczos_windows(a=20)

(Source code, png, hires.png)

../../_images/obspy-signal-interpolation-plot_lanczos_windows-1.png