wavelet

fun wavelet(filter: String): Wavelet

Crerates a wavelet filter. The filter name is derived from one of four classes of wavelet transform filters: Daubechies, Least Asymetric, Best Localized and Coiflet. The prefixes for filters of these classes are d, la, bl and c, respectively. Following the prefix, the filter name consists of an integer indicating length. Supported lengths are as follows:

'''Daubechies''' 4,6,8,10,12,14,16,18,20.

'''Least Asymetric''' 8,10,12,14,16,18,20.

'''Best Localized''' 14,18,20.

'''Coiflet''' 6,12,18,24,30.

Additionally "haar" is supported for Haar wavelet.

Besides, "d4", the simplest and most localized wavelet, uses a different centering method from other Daubechies wavelet.

Parameters

filter

filter name