ricker_wavelet
Bases: discrete_wavelet
Ricker wavelet implementation, also known as the "Mexican hat wavelet."
Source code in tinybig/koala/signal_processing/wavelet.py
__init__(sigma=1.0, name='ricker_wavelet', *args, **kwargs)
Initialize the Ricker wavelet.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
sigma
|
float
|
Standard deviation of the Gaussian envelope. Must be >= 0. Default is 1.0. |
1.0
|
name
|
str
|
Name of the wavelet. Default is 'ricker_wavelet'. |
'ricker_wavelet'
|
*args
|
Additional parameters. |
()
|
|
**kwargs
|
Additional parameters. |
()
|
Source code in tinybig/koala/signal_processing/wavelet.py
psi(tau)
Define the Ricker wavelet function.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
tau
|
Tensor
|
Transformed input values. |
required |
Returns:
Type | Description |
---|---|
Tensor
|
Wavelet values for the input. |