public class ContinuousWaveletTransform extends Object
ContinuousWaveletTransform class.
Modifier and Type | Class and Description |
---|---|
static class |
ContinuousWaveletTransform.DataPoint
This is the data model for creating data points for CWT
|
Constructor and Description |
---|
ContinuousWaveletTransform(double smallScaleIn,
double largeScaleIn,
double incrementScaleIn)
Constructor for ContinuousWaveletTransform.
|
Modifier and Type | Method and Description |
---|---|
void |
buildRidgelines()
buildRidgelines.
|
int[] |
croppedPeakWidth(int peakLeft,
int peakRight)
croppedPeakWidth.
|
double[] |
doubleTheNumberOfPtsDataY(double[] yIn)
doubleTheNumberOfPtsDataY.
|
double[] |
doubleTheNumberOfPtsX(double[] xIn)
doubleTheNumberOfPtsX.
|
void |
filterRidgelines()
filterRidgelines.
|
double |
findArea(int peakLeft,
int peakRight)
findArea.
|
Integer[] |
findMaximaForThisScale(double waveletScale)
findMaximaForThisScale.
|
List<Result> |
findPeaks()
findPeaks.
|
void |
getCoefficientsForAllScales()
getCoefficientsForAllScales.
|
double[] |
getCoefficientsForThisScale(double waveletScale)
getCoefficientsForThisScale.
|
boolean |
numberOfZeros(int peakLeft,
int peakRight)
numberOfZeros.
|
double[][] |
returnAllCoefficients()
returnAllCoefficients.
|
double |
rickerWavelet(double x,
double scalParam)
rickerWavelet.
|
void |
setcoefAreaRatioTolerance(double userInputCoefAreaRatioTolerance)
Setter for the field
coefAreaRatioTolerance . |
void |
setPeakWidth(double lowerbound,
double upperbound)
Setter for the field
peakWidth . |
void |
setPeakWidth(com.google.common.collect.Range<Double> peakWidthObject)
Setter for the field
peakWidth . |
void |
setSignal(List<ContinuousWaveletTransform.DataPoint> listOfDataPoint)
Setter for the field
signal . |
void |
setX(List<ContinuousWaveletTransform.DataPoint> listOfDataPoint)
Setter for the field
x . |
double |
signalWaveletInnerProductOnePoint(int xIndexOfWaveletMax,
double waveletScale)
signalWaveletInnerProductOnePoint.
|
public ContinuousWaveletTransform(double smallScaleIn, double largeScaleIn, double incrementScaleIn)
Constructor for ContinuousWaveletTransform.
smallScaleIn
- a double.largeScaleIn
- a double.incrementScaleIn
- a double.public double[][] returnAllCoefficients()
returnAllCoefficients.
public void setPeakWidth(double lowerbound, double upperbound)
Setter for the field peakWidth
.
lowerbound
- a double.upperbound
- a double.public void setPeakWidth(com.google.common.collect.Range<Double> peakWidthObject)
Setter for the field peakWidth
.
peakWidthObject
- a Range
object.public void setcoefAreaRatioTolerance(double userInputCoefAreaRatioTolerance)
Setter for the field coefAreaRatioTolerance
.
userInputCoefAreaRatioTolerance
- a double.public int[] croppedPeakWidth(int peakLeft, int peakRight)
croppedPeakWidth.
peakLeft
- a int.peakRight
- a int.public boolean numberOfZeros(int peakLeft, int peakRight)
numberOfZeros.
peakLeft
- a int.peakRight
- a int.public double findArea(int peakLeft, int peakRight)
findArea.
peakLeft
- a int.peakRight
- a int.public void filterRidgelines()
filterRidgelines.
public void buildRidgelines()
buildRidgelines.
public Integer[] findMaximaForThisScale(double waveletScale)
findMaximaForThisScale.
waveletScale
- a double.Integer
objects.public void getCoefficientsForAllScales()
getCoefficientsForAllScales.
public double[] getCoefficientsForThisScale(double waveletScale)
getCoefficientsForThisScale.
waveletScale
- a double.public double signalWaveletInnerProductOnePoint(int xIndexOfWaveletMax, double waveletScale)
signalWaveletInnerProductOnePoint.
xIndexOfWaveletMax
- a int.waveletScale
- a double.public double rickerWavelet(double x, double scalParam)
rickerWavelet.
x
- a double.scalParam
- a double.public void setSignal(List<ContinuousWaveletTransform.DataPoint> listOfDataPoint)
Setter for the field signal
.
listOfDataPoint
- a List
object.public void setX(List<ContinuousWaveletTransform.DataPoint> listOfDataPoint)
Setter for the field x
.
listOfDataPoint
- a List
object.public double[] doubleTheNumberOfPtsX(double[] xIn)
doubleTheNumberOfPtsX.
xIn
- an array of double.public double[] doubleTheNumberOfPtsDataY(double[] yIn)
doubleTheNumberOfPtsDataY.
yIn
- an array of double.Copyright © 2019. All rights reserved.