obspy.signal.invsim.cosine_sac_taper

cosine_sac_taper(freqs, flimit)[source]

Create a cosine taper similar to SAC.

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:
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)

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