public class ContinuousWavelet extends Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
DEBUG |
protected int |
START_THREADS |
| Constructor and Description |
|---|
ContinuousWavelet() |
| Modifier and Type | Method and Description |
|---|---|
DoubleDataSet3D |
getScalogram(double[] data,
int nQuantx,
int nQuanty,
double nu,
double fmin,
double fmax)
Wavelet Scalogram implementation with truncated convolution the assumption is made that the wavelet vanishes for
large scales
|
double[][] |
getScalogramArray(double[] data,
int nQuantx,
int nQuanty,
double nu,
double fmin,
double fmax) |
double[][] |
getScalogramArrayFourier(double[] data,
int nQuantx,
int nQuanty,
double nu,
double fmin,
double fmax) |
double[] |
getScalogramFrequencyAxis(int nQuantx,
int nQuanty,
double nu,
double fmin,
double fmax) |
double[] |
getScalogramTimeAxis(double[] data,
int nQuantx,
int nQuanty,
double nu,
double fmin,
double fmax) |
int |
getStatus() |
boolean |
isBusy() |
static void |
main(String[] args) |
org.apache.commons.math3.complex.Complex |
MexicanHat(double x) |
org.apache.commons.math3.complex.Complex |
Morlet(double x,
double nu)
Complex Morlet wavelet function
|
void |
Morlet(double x,
double nu,
double[] ret)
Complex Morlet wavelet function this version avoids the Complex object for the sake of performance
|
org.apache.commons.math3.complex.Complex |
Paul(double x,
int m)
Complex Paul wavelet function
|
org.apache.commons.math3.complex.Complex |
WaveletTransform(org.apache.commons.math3.complex.Complex[] data,
double scale,
double translation,
double nu)
Complex Wavelet Scalogram implementation -- no assumptions on the Wavelet nor input data are made.
|
org.apache.commons.math3.complex.Complex |
WaveletTransform(double[] data,
double scale,
double translation,
double nu)
Wavelet Scalogram implementation with truncated convolution the assumption is made that the wavelet vanishes for
large scales
|
public DoubleDataSet3D getScalogram(double[] data, int nQuantx, int nQuanty, double nu, double fmin, double fmax)
data - real valued input datanQuantx - number of bins on the time axisnQuanty - number of frequency bins of full rangenu - the number of oscillations per waveletfmin - minimum scalogram frequency rangefmax - maximum scalogram frequency rangepublic double[][] getScalogramArray(double[] data,
int nQuantx,
int nQuanty,
double nu,
double fmin,
double fmax)
data - input datanQuantx - number of bins on the time axisnQuanty - number of frequency bins of full rangenu - Morlet wavelet oscillation parameterfmin - minimum scalogram frequency rangefmax - maximum scalogram frequency rangepublic double[][] getScalogramArrayFourier(double[] data,
int nQuantx,
int nQuanty,
double nu,
double fmin,
double fmax)
data - input datanQuantx - number of bins on the time axisnQuanty - number of frequency bins of full rangenu - Morlet wavelet oscillation parameterfmin - minimum scalogram frequency rangefmax - maximum scalogram frequency rangepublic double[] getScalogramFrequencyAxis(int nQuantx,
int nQuanty,
double nu,
double fmin,
double fmax)
public double[] getScalogramTimeAxis(double[] data,
int nQuantx,
int nQuanty,
double nu,
double fmin,
double fmax)
public int getStatus()
public boolean isBusy()
public org.apache.commons.math3.complex.Complex MexicanHat(double x)
public org.apache.commons.math3.complex.Complex Morlet(double x,
double nu)
x - thenu - the oscillatory parameter (needs to be > 0.8)public void Morlet(double x,
double nu,
double[] ret)
x - inputnu - the oscillatory parameterret - return value ret[0] stores the real and ret[1] the imaginary value of the function reference: P.
Goupillaud, A. Grossman, and J. Morlet., Cycle-Octave and Related Transforms in Seismic Signal
Analysis., Geoexploration, 23:85-102, 1984public org.apache.commons.math3.complex.Complex Paul(double x,
int m)
x - inputm - inputpublic org.apache.commons.math3.complex.Complex WaveletTransform(org.apache.commons.math3.complex.Complex[] data,
double scale,
double translation,
double nu)
data - complex valued input datascale - the scale parametertranslation - the time shift parameternu - the number of oscillations per waveletpublic org.apache.commons.math3.complex.Complex WaveletTransform(double[] data,
double scale,
double translation,
double nu)
data - real valued input datascale - the scale parametertranslation - the time shift parameternu - the number of oscillations per waveletpublic static void main(String[] args)
Copyright © 2020 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.