serendipyty.seismic.input.wavelets

Created on Wed Feb 7 15:10:52 2018

@author: Filippo Broggini (ETH Zürich) - filippo.broggini@erdw.ethz.ch

Classes

BaseWavelet(*args, **kwargs) Base class for source wavelets.
RickerWavelet(t[, dt, fc, delay]) Ricker wavelet.
class serendipyty.seismic.input.wavelets.BaseWavelet(*args, **kwargs)[source]

Bases: object

Base class for source wavelets.

This is implemented as a function object, so the magic happens in the __call__ member function.

Methods

__call__(self, t=None, nu=None, **kwargs)  
__call__(it=None, **kwargs)[source]

Callable object method for the seismic sources.

Parameters:

it : int, array-like

Index(es) at which to evaluate the wavelet.

__weakref__

list of weak references to the object (if defined)

class serendipyty.seismic.input.wavelets.RickerWavelet(t, dt=None, fc=20.0, delay=None, **kwargs)[source]

Bases: serendipyty.seismic.input.wavelets.BaseWavelet

Ricker wavelet.

The Ricker wavelet is the negative 2nd derivative of a Gaussian [R13].

Parameters:

t : float, ndarray

Time array.

fc : float, optional

Central (peak) frequency of the wavelet.

delay : float, optional

Time delay to be applied to the wavelet. The default delay is 1/fc.

References

[R13](1, 2) N. Ricker, The form and laws of propagation of seismic wavelets, Geophysics, vol. 18, pp. 10-40, 1953.

Attributes

wavelet (float, ndarray) Array that contains the wavelet.

Methods

__call__([it]) Callable object method for the seismic sources.
class serendipyty.seismic.input.wavelets.RickerIntegratedWavelet(t, dt=None, fc=20.0, delay=None, normalized=False, **kwargs)[source]

Bases: serendipyty.seismic.input.wavelets.BaseWavelet

Integral of the Ricker wavelet.

This wavelet is the time integral of a Ricker wavelet.

Parameters:

t : float, ndarray

Time array.

fc : float, optional

Central (peak) frequency of the wavelet.

normalized : bool, optional

Normalize maximum amplitude to 1

delay : float, optional

Time delay to be applied to the wavelet. The default delay is 1/fc.

Attributes

wavelet (float, ndarray) Array that contains the wavelet.

Methods

__call__([it]) Callable object method for the seismic sources.