scipy.signal.ricker

scipy.signal.ricker(points, a)[source]

Return a Ricker wavelet, also known as the “Mexican hat wavelet”.

It models the function:

A (1 - x^2/a^2) exp(-t^2/a^2),

where A = 2/sqrt(3a)pi^1/3.

Parameters :

points : int

Number of points in vector. Default is 10 * a. Will be centered around 0.

a : scalar

Width parameter of the wavelet.

Returns :

vector : 1-D ndarray

Array of length points in shape of Ricker curve.

Examples

Previous topic

scipy.signal.qmf

Next topic

scipy.signal.cwt