public class FeatureTools extends Object
FeatureTools class.
| Constructor and Description |
|---|
FeatureTools() |
| Modifier and Type | Method and Description |
|---|---|
static double |
findMeanOfSignal(double[] intensities,
int peakLeft,
int peakRight)
findMeanOfSignal.
|
static double |
findMinIntensityOfSignal(double[] intensities,
int peakLeft,
int peakRight)
findMinIntensityOfSignal.
|
static int |
fixLeftBoundry(double[] intensities,
int peakLeft)
fixLeftBoundry.
|
static int |
fixRightBoundry(double[] intensities,
int peakRight)
fixRightBoundry.
|
static boolean |
isShared(double[] rt,
double[] intensities,
int peakLeft,
int peakRight,
double edgeToHeightRatio,
double deltaToHeightRatio)
isShared.
|
static boolean |
isShared(List<Double> intensities,
double edgeToHeightThreshold,
double deltaToHeightThreshold)
Return true if 1) there are more then one local maximum 2) at least one of left-to-apex,
right-to-apex, or delta-to-apex ratios is higher then the corresponding threshold
|
static double |
sharpnessAngleAvgAngles(double[] rt,
double[] intensities,
int peakLeft,
int peakRight)
sharpnessAngleAvgAngles.
|
static double |
sharpnessAngleAvgSlopes(double[] rt,
double[] intensities,
int peakLeft,
int peakRight)
sharpnessAngleAvgSlopes.This returns the angle calculated between the two "means" of the slopes
on each side of the peak
|
static double |
sharpnessYang(double[] rt,
double[] intensities,
int peakLeft,
int peakRight)
sharpnessYang.
|
static double |
sharpnessYang(NavigableMap<Double,Double> chromatogram)
sharpnessYang.
|
static double |
trapazoidAreaUnderCurve(double[] intensities,
double[] retentionTimes,
int peakLeft,
int peakRight)
trapazoidAreaUnderCurve.
|
public static int fixRightBoundry(double[] intensities,
int peakRight)
fixRightBoundry.
intensities - an array of double.peakRight - a int.public static int fixLeftBoundry(double[] intensities,
int peakLeft)
fixLeftBoundry.
intensities - an array of double.peakLeft - a int.public static boolean isShared(double[] rt,
double[] intensities,
int peakLeft,
int peakRight,
double edgeToHeightRatio,
double deltaToHeightRatio)
isShared.
rt - an array of double.intensities - an array of double.peakLeft - a int.peakRight - a int.edgeToHeightRatio - a double.deltaToHeightRatio - a double.public static boolean isShared(List<Double> intensities, double edgeToHeightThreshold, double deltaToHeightThreshold)
intensities - list of peak intensitiesedgeToHeightThreshold - threshold for left-to-apex and right-to-apex ratiosdeltaToHeightThreshold - threshold for delta-to-apex ratiopublic static double sharpnessAngleAvgSlopes(double[] rt,
double[] intensities,
int peakLeft,
int peakRight)
sharpnessAngleAvgSlopes.This returns the angle calculated between the two "means" of the slopes on each side of the peak
rt - an array of double.intensities - an array of double.peakLeft - a int.peakRight - a int.public static double sharpnessYang(NavigableMap<Double,Double> chromatogram)
sharpnessYang.
chromatogram - a NavigableMap object.public static double sharpnessYang(double[] rt,
double[] intensities,
int peakLeft,
int peakRight)
sharpnessYang.
rt - an array of double.intensities - an array of double.peakLeft - a int.peakRight - a int.public static double sharpnessAngleAvgAngles(double[] rt,
double[] intensities,
int peakLeft,
int peakRight)
sharpnessAngleAvgAngles. This returns the angle calculated between the two "means" of the slopes on each side of the peak.
rt - an array of double.intensities - an array of double.peakLeft - a int.peakRight - a int.public static double findMeanOfSignal(double[] intensities,
int peakLeft,
int peakRight)
findMeanOfSignal.
intensities - an array of double.peakLeft - a int.peakRight - a int.public static double findMinIntensityOfSignal(double[] intensities,
int peakLeft,
int peakRight)
findMinIntensityOfSignal.
intensities - an array of double.peakLeft - a int.peakRight - a int.public static double trapazoidAreaUnderCurve(double[] intensities,
double[] retentionTimes,
int peakLeft,
int peakRight)
trapazoidAreaUnderCurve.
intensities - an array of double.retentionTimes - an array of double.peakLeft - a int.peakRight - a int.Copyright © 2019. All rights reserved.