Modifier and Type | Class and Description |
---|---|
static class |
AutoThresholdRegression.Implementation |
Constructor and Description |
---|
AutoThresholdRegression(PearsonsCorrelation<T> pc) |
AutoThresholdRegression(PearsonsCorrelation<T> pc,
AutoThresholdRegression.Implementation impl) |
Modifier and Type | Method and Description |
---|---|
static double |
clamp(double val,
double min,
double max)
Clamp a value to a min or max value.
|
void |
execute(DataContainer<T> container)
Executes the previously initialized
Algorithm . |
double |
getAutoThresholdIntercept() |
double |
getAutoThresholdSlope() |
double |
getBToYMeanRatio() |
T |
getCh1MaxThreshold() |
T |
getCh1MinThreshold() |
T |
getCh2MaxThreshold() |
T |
getCh2MinThreshold() |
double |
getWarnYInterceptToYMaxRatioThreshold() |
void |
processResults(ResultHandler<T> handler)
A method to give the algorithm the opportunity to let
its results being processed by the passed handler.
|
addWarning, getName, getWarnings
public AutoThresholdRegression(PearsonsCorrelation<T> pc)
public AutoThresholdRegression(PearsonsCorrelation<T> pc, AutoThresholdRegression.Implementation impl)
public void execute(DataContainer<T> container) throws MissingPreconditionException
Algorithm
Algorithm
.public static double clamp(double val, double min, double max)
public void processResults(ResultHandler<T> handler)
Algorithm
processResults
in class Algorithm<T extends RealType<T>>
handler
- The ResultHandler to process the results.public double getBToYMeanRatio()
public double getWarnYInterceptToYMaxRatioThreshold()
public double getAutoThresholdSlope()
public double getAutoThresholdIntercept()
public T getCh1MinThreshold()
public T getCh1MaxThreshold()
public T getCh2MinThreshold()
public T getCh2MaxThreshold()
Copyright © 2015–2021 Fiji. All rights reserved.