dwt

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2020 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Overview

Package DWT has functions supporting the Discrete Wavelet Transform.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Transform

type Transform struct {
	// contains filtered or unexported fields
}

func Daubechies4

func Daubechies4(s []float64, level int) *Transform

Daubechies4 returns the DWT with Daubechies 4 coeficients to level.

func (*Transform) GetCoefficients

func (t *Transform) GetCoefficients() [][]float64

GetCoefficients returns the coefficients of all transform levels

func (*Transform) GetDecomposition added in v0.0.4

func (t *Transform) GetDecomposition() []float64

GetDecomposition returns the vector containing the DWT decomposion

func (*Transform) GetDownSampledCoefficients

func (t *Transform) GetDownSampledCoefficients() [][]float64

GetDownSampledCoefficients returns the coefficients of all the levels downsampled to the length of the deepest level of the transform.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL