Liking cljdoc? Tell your friends :D

fastmath.transform

Transforms.

See transformer and TransformProto for details.

Wavelet

Based on JWave library.

Be aware that some of the wavelet types doesn't work properly. :battle-23, :cdf-53, :cdf-97.

Cos/Sin/Hadamard

Orthogonal or standard fast sine/cosine/hadamard 1d transforms.

Fourier

DFT.

Transforms.

See [[transformer]] and [[TransformProto]] for details.

### Wavelet

Based on [JWave](https://github.com/cscheiblich/JWave/) library.

Be aware that some of the wavelet types doesn't work properly. `:battle-23`, `:cdf-53`, `:cdf-97`.

### Cos/Sin/Hadamard

Orthogonal or standard fast sine/cosine/hadamard 1d transforms.

### Fourier

DFT.
raw docstring

compressclj

(compress mag xs)

Compress transformed signal xs with given magnitude mag.

Compress transformed signal `xs` with given magnitude `mag`.
sourceraw docstring

denoiseclj

(denoise xs)
(denoise xs soft?)
(denoise trans xs soft?)

Adaptive denoising of time series (1d).

Use on transformed sequences or call with transformer object.

SMILE implementation of WaveletShrinkage denoise function.

Adaptive denoising of time series (1d).

Use on transformed sequences or call with transformer object.

SMILE implementation of WaveletShrinkage denoise function.
sourceraw docstring

transformercljmultimethod

Create transform object for given wavelet.

Wavelets

  • :fast for 1d or 2d Fast Wavelet Transform. Size of data should be power of 2.
  • :packet for 1d or 2d Wavelet Packet Transform. Size of data should be power of 2.
  • :decomposed-fast for 1d Fast Wavelet Transform. Data can have any size (Ancient Egyptian Decomposition is used).
  • :decomposed-packet for 1d Wavelet Packet Transform. Data can have any size (Ancient Egyptian Decomposition is used).

Second argument is wavelet name as key. See wavelets-list for all supported names.

Sine/Cosine/Hadamard

  • :standard for 1d :sine, :cosine, :hadamard.
  • :orthogonal for 1d :sine, :cosine.

Note that :sine and :cosine require first element to be equal 0. Size of data should be power of 2.

Fourier

  • :standard :dft - 1d Discrete Fourier Transform - returns double-array where even elements are real part, odd elements are imaginary part.
Create transform object for given wavelet.

#### Wavelets

* `:fast` for 1d or 2d Fast Wavelet Transform. Size of data should be power of `2`.
* `:packet` for 1d or 2d Wavelet Packet Transform. Size of data should be power of `2`.
* `:decomposed-fast` for 1d Fast Wavelet Transform. Data can have any size (Ancient Egyptian Decomposition is used).
* `:decomposed-packet` for 1d Wavelet Packet Transform. Data can have any size (Ancient Egyptian Decomposition is used).

Second argument is wavelet name as key. See [[wavelets-list]] for all supported names.

#### Sine/Cosine/Hadamard

* `:standard` for 1d `:sine`, `:cosine`, `:hadamard`.
* `:orthogonal` for 1d `:sine`, `:cosine`.

Note that `:sine` and `:cosine` require first element to be equal `0`. Size of data should be power of 2.

#### Fourier

* `:standard` `:dft` - 1d Discrete Fourier Transform - returns double-array where even elements are real part, odd elements are imaginary part.
sourceraw docstring

TransformProtocljprotocol

Transformer functions.

Transformer functions.

forward-1dclj

(forward-1d t xs)

Forward transform of sequence or array. Returns double array.

Forward transform of sequence or array. Returns double array.

forward-2dclj

(forward-2d t xss)

Forward transform of sequence of sequences or 2d double array. Returns 2d double array.

Forward transform of sequence of sequences or 2d double array. Returns 2d double array.

reverse-1dclj

(reverse-1d t xs)

Reverse transform of sequence or array. Returns double array.

Reverse transform of sequence or array. Returns double array.

reverse-2dclj

(reverse-2d t xss)

Reverse transform of sequence of sequences or 2d double array. Returns 2d double array.

Reverse transform of sequence of sequences or 2d double array. Returns 2d double array.
sourceraw docstring

waveletcljmultimethod

Create wavelet object.

Shouldn't be used directly

Create wavelet object.

Shouldn't be used directly
sourceraw docstring

wavelets-listclj

List of all possible wavelets.

List of all possible wavelets.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close