Documentation
¶
Overview ¶
Package dwt provides CDF 5/3 & 9/7 Wavelet Transformations.
This is as port of Gregoire Pau's C implementation dwt97.c and dwt53.c.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Fwt53 ¶
func Fwt53(xn []float64)
Fwt53 performs a bi-orthogonal 5/3 wavelet transformation (lifting implementation) of the signal in slice xn. The length of the signal n = len(xn) must be a power of 2.
The input in slice xn will be replaced by the transformation:
The first half part of the output signal contains the approximation coefficients. The second half part contains the detail coefficients (aka. the wavelets coefficients).
func Fwt97 ¶
func Fwt97(xn []float64)
Fwt97 performs a bi-orthogonal 9/7 wavelet transformation (lifting implementation) of the signal in slice xn. The length of the signal n = len(xn) must be a power of 2.
The input slice xn will be replaced by the transformation:
The first half part of the output signal contains the approximation coefficients. The second half part contains the detail coefficients (aka. the wavelets coefficients).
func Iwt53 ¶
func Iwt53(xn []float64)
Iwt53 performs an inverse bi-orthogonal 5/3 wavelet transformation of xn. This is the inverse function of Fwt53 so that Iwt53(Fwt53(xn))=xn for every signal xn of length n.
The length of slice xn must be a power of 2.
The coefficients provided in slice xn are replaced by the original signal.
func Iwt97 ¶
func Iwt97(xn []float64)
Iwt97 performs an inverse bi-orthogonal 9/7 wavelet transformation of xn. This is the inverse function of Fwt97 so that Iwt97(Fwt97(xn))=xn for every signal xn of length n.
The length of slice xn must be a power of 2.
The coefficients provided in slice xn are replaced by the original signal.
Types ¶
This section is empty.