public class Convolution extends Object
| Modifier and Type | Field and Description |
|---|---|
org.jtransforms.fft.DoubleFFT_1D |
f1dFFT |
| Constructor and Description |
|---|
Convolution() |
| Modifier and Type | Method and Description |
|---|---|
static void |
complexMultiply(double[] data1,
double[] data2) |
static double[] |
getDerivativeFilter(int length)
computes derivative filter (Fourier Domain)
|
static double[] |
getHilbertFilter(int length)
computes the Hilbert transform filter (Fourier Domain)
|
static double[] |
getIdentityFilter(int length)
computes the identity filter
|
static double[] |
getLowPassFilter(int length,
double frequency)
computes low-pass filter (Fourier Domain)
|
static double[] |
getMorletFilter(int length,
double f0,
double width) |
static void |
main(String[] args) |
protected static double |
MorletWaveletFunctionFourier(double frequency,
double f0,
double width) |
void |
Test() |
double[] |
transform(double[] data,
double[] filter,
boolean cyclicBoundary)
implements convolution via FFT transform only the real part of the signal is computed
|
double[] |
transformFull(double[] data,
double[] filter,
boolean cyclicBoundary)
implements convolution via FFT transform only the real and imaginary part of the signal is returned
|
public void Test()
public double[] transform(double[] data,
double[] filter,
boolean cyclicBoundary)
data - the data setfilter - the convolution filtercyclicBoundary - true: cyclic boundary condition; false: ZOH at boundariespublic double[] transformFull(double[] data,
double[] filter,
boolean cyclicBoundary)
data - the data setfilter - the convolution filtercyclicBoundary - true: cyclic boundary condition; false: ZOH at boundariespublic static void complexMultiply(double[] data1,
double[] data2)
public static double[] getDerivativeFilter(int length)
length - the length of the filterpublic static double[] getHilbertFilter(int length)
length - the length of the filterpublic static double[] getIdentityFilter(int length)
length - the length of the filterpublic static double[] getLowPassFilter(int length,
double frequency)
length - the length of the filterfrequency - cut-off frequencypublic static double[] getMorletFilter(int length,
double f0,
double width)
public static void main(String[] args)
protected static double MorletWaveletFunctionFourier(double frequency,
double f0,
double width)
Copyright © 2020 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.