obspy.signal.invsim.cosine_sac_taper

cosine_sac_taper(freqs, flimit)[source]

Generate a cosine flank frequency domain taper similar to the one SAC applies before instrument response deconvolution. This acts as a bandpass filter when applied to the data in frequency space.

Parameters:
  • freqs (numpy.ndarray) frequency vector to use
  • flimit (tuple of 4 floats) sequence containing the 4 frequency limits
Returns:

taper

Return type:

numpy.ndarray

The flimit parameter is a tuple of four frequency values (f1, f2, f3, f4), the following plots illustrates the concept:

(Source code, png, hires.png)

../../_images/obspy-signal-invsim-cosine_sac_taper-1.png