public class SignalToNoise extends Object
SignalToNoise class.
| Constructor and Description |
|---|
SignalToNoise() |
| Modifier and Type | Method and Description |
|---|---|
static double |
filterBySNRandWindowSelect(double[] intensities,
int peakLeft,
int peakRight)
filterBySNRandWindowSelect.
|
static double |
filterBySNStaticWindowSweep(double[] intensities,
int peakLeft,
int peakRight)
filterBySNStaticWindowSweep.
|
static double |
filterBySNWindowInOutSweep(double[] intensities,
int peakLeft,
int peakRight)
filterBySNWindowInOutSweep.
|
static double |
filterBySNWindowSweep(double[] intensities,
int peakLeft,
int peakRight)
filterBySNWindowSweep.
|
static double |
findSNUsingWaveletCoefficents(double[][] allCoefficients,
double bestCoeff,
int peakLeft,
int peakRight,
double windowSizeMult,
boolean absWaveCoeffs)
findSNUsingWaveletCoefficents.
|
static double |
getQuantile(List<Double> values,
double probability)
Estimate quantile of the list of values
Estimation is equivalent to the default quantile estimate in R: if x[j] and x[j+1] are two
values adjacent to the quantile, than Q[p] = (gamma - 1) * x[j] + gamma * x[j+1] where gamma =
(size - 1) * p + 1 - j and j starts from 1
|
public static double findSNUsingWaveletCoefficents(double[][] allCoefficients,
double bestCoeff,
int peakLeft,
int peakRight,
double windowSizeMult,
boolean absWaveCoeffs)
findSNUsingWaveletCoefficents.
allCoefficients - an array of double.bestCoeff - a double.peakLeft - a int.peakRight - a int.windowSizeMult - a double.absWaveCoeffs - a boolean.public static double getQuantile(List<Double> values, double probability)
values - list of doublesprobability - value between 0.0 and 1.0public static double filterBySNRandWindowSelect(double[] intensities,
int peakLeft,
int peakRight)
filterBySNRandWindowSelect.
intensities - an array of double.peakLeft - a int.peakRight - a int.public static double filterBySNWindowSweep(double[] intensities,
int peakLeft,
int peakRight)
filterBySNWindowSweep.
intensities - an array of double.peakLeft - a int.peakRight - a int.public static double filterBySNWindowInOutSweep(double[] intensities,
int peakLeft,
int peakRight)
filterBySNWindowInOutSweep.
intensities - an array of double.peakLeft - a int.peakRight - a int.public static double filterBySNStaticWindowSweep(double[] intensities,
int peakLeft,
int peakRight)
filterBySNStaticWindowSweep.
intensities - an array of double.peakLeft - a int.peakRight - a int.Copyright © 2019. All rights reserved.