jsci.maths.wavelet
Class Cascades
- java.lang.Object
-
- jsci.maths.AbstractMath
-
- jsci.maths.wavelet.Cascades
-
public final class Cascades extends AbstractMath
This class is a standard implementation of the Cascades algorithm.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static intdimension(int n0, int jfin)Starting with n0 scaling functions and going jfin scales ahead (iterating jfin times), tells you how many scaling functions you'll have.static intdimension(int n0, int jfin, int filtertype)Starting with n0 scaling functions and going jfin scales ahead (iterating jfin times), tells you how many scaling functions you'll have.static intdimensionHaar(int n0, int jfin)Starting with n0 scaling functions and going jfin scales ahead (iterating jfin times), tells you how many scaling functions you'll have.static double[]doublesample(double[] data)Method used to oversample according to the Haar transformstatic double[]evalScaling(Filter filtre, int n0, int j1, int k)static double[]evaluation(Filter filtre, int j1, double[] init)static double[]evalWavelet(Filter filtre, int n0, int j1, int k)static double[]evalWavelet(Filter filtre, int filtretype, int n0, int j1, int k)static double[]evalWaveletHaar(Filter filtre, int n0, int j1, int k)static double[]evalWaveletQuadratic(Filter filtre, int n0, int j1, int k)static double[]oversample(double[] data)method used to oversample according to the lazy (Dirac Delta Function) interpolationstatic intPowerOf2(int pwrOf2)static intpreviousDimension(int filtretype, int k)This method return the number of "scaling" functions at the previous scale given a number of scaling functions.static double[]quadraticOversample(double[] v)Special oversampling for the quadratic spline interpolationstatic double[]supersample(double[] data)Special oversampling for the linear spline interpolation
-
-
-
Method Detail
-
previousDimension
public static int previousDimension(int filtretype, int k)This method return the number of "scaling" functions at the previous scale given a number of scaling functions. The answer is always smaller than the provided value (about half since this is a dyadic implementation). This relates to the same idea as the "filter type".
-
evalScaling
public static double[] evalScaling(Filter filtre, int n0, int j1, int k)
-
evalWavelet
public static double[] evalWavelet(Filter filtre, int filtretype, int n0, int j1, int k)
-
evalWavelet
public static double[] evalWavelet(Filter filtre, int n0, int j1, int k)
-
evalWaveletHaar
public static double[] evalWaveletHaar(Filter filtre, int n0, int j1, int k)
-
evalWaveletQuadratic
public static double[] evalWaveletQuadratic(Filter filtre, int n0, int j1, int k)
-
PowerOf2
public static int PowerOf2(int pwrOf2)
-
oversample
public static double[] oversample(double[] data)
method used to oversample according to the lazy (Dirac Delta Function) interpolation
-
doublesample
public static double[] doublesample(double[] data)
Method used to oversample according to the Haar transform
-
supersample
public static double[] supersample(double[] data)
Special oversampling for the linear spline interpolation
-
quadraticOversample
public static double[] quadraticOversample(double[] v)
Special oversampling for the quadratic spline interpolation
-
dimension
public static int dimension(int n0, int jfin, int filtertype)Starting with n0 scaling functions and going jfin scales ahead (iterating jfin times), tells you how many scaling functions you'll have. (Dyadic multiresolutions of type filtretype.)- Parameters:
filtertype- filter typen0- number of scaling functions initiallyjfin- number of iterations
-
dimension
public static int dimension(int n0, int jfin)Starting with n0 scaling functions and going jfin scales ahead (iterating jfin times), tells you how many scaling functions you'll have. (Linear spline and dyadic multiresolution of type 1.)- Parameters:
n0- number of scaling functions initiallyjfin- number of iterations
-
dimensionHaar
public static int dimensionHaar(int n0, int jfin)Starting with n0 scaling functions and going jfin scales ahead (iterating jfin times), tells you how many scaling functions you'll have. (Haar and dyadic multiresolution of type 0.)- Parameters:
n0- number of scaling functions initiallyjfin- number of iterations
-
evaluation
public static double[] evaluation(Filter filtre, int j1, double[] init)
-
-
DMelt 3.0 © DataMelt by jWork.ORG