pywddff.filters
Module Contents
Functions
|
Level 1 scaling filter. |
|
Level 1 wavelet filter. |
|
Level j equivalent scaling filter. |
|
Level j equivalent wavelet filter. |
- pywddff.filters.scaling_filter(filter, modwt=False)[source]
Level 1 scaling filter.
- Parameters:
filter (str) – A string indicating the desired filter. There are 128 options, see the README on this package’s github page to see the list of filters available.
modwt (bool) – If True, the level 1 scaling filter is divided by 2^(1/2).
- Returns:
A 1D numpy array.
- Return type:
np.ndarray
- pywddff.filters.wavelet_filter(filter, modwt=False)[source]
Level 1 wavelet filter.
- Parameters:
filter (str) – A string indicating the desired filter. There are 128 options, see the README on this package’s github page to see the list of filters available.
modwt (bool) – If True, the level 1 wavelet filter is divided by 2^(1/2).
- Returns:
A 1D numpy array.
- Return type:
np.ndarray
- pywddff.filters.equiv_scaling_filter(filter, j)[source]
Level j equivalent scaling filter.
- Parameters:
filter (str) – A string indicating the desired filter. There are 128 options, see the README on this package’s github page to see the list of filters available.
j (int) – Decomposition level.
- Returns:
A 1D numpy array of length (2^j -1)*(L-1)+1, where L is the length of the level 1 scaling/wavelet filter.
- Return type:
np.ndarray
- pywddff.filters.equiv_wavelet_filter(filter, j)[source]
Level j equivalent wavelet filter.
- Parameters:
filter (str) – A string indicating the desired filter. There are 128 options, see the README on this package’s github page to see the list of filters available.
j (int) – Decomposition level.
- Returns:
A 1D numpy array of length (2^j -1)*(L-1)+1, where L is the length of the level 1 scaling/wavelet filter.
- Return type:
np.ndarray