public class LMCurveFitter extends CurveFitter
Modifier and Type | Class and Description |
---|---|
static class |
LMCurveFitter.ConsoleStream
HACK - OutputStream extension for filtering out hardcoded
RuntimeException.printStackTrace() exceptions within LMA library.
|
static class |
LMCurveFitter.ExpFunction
A summed exponential function of the form:
y(t) = a1*e^(-b1*t) + ...
|
Modifier and Type | Field and Description |
---|---|
protected static LMCurveFitter.ExpFunction[] |
EXP_FUNCTIONS |
protected static Hashtable |
EXP_WEIGHTS |
protected static Hashtable |
EXP_X_VALS |
protected int |
iterCount |
protected jaolho.data.lma.LMA |
lma |
components, currentRCSE, curveData, curveEstimate, curveFixed, DEBUG, firstIndex, lastIndex
Constructor and Description |
---|
LMCurveFitter() |
Modifier and Type | Method and Description |
---|---|
void |
estimate()
Initializes the curve fitter with a starting curve estimate.
|
static PrintStream |
filter(PrintStream out) |
int |
getIterations()
Returns the number of iterations so far.
|
void |
iterate()
iterate() runs through one iteration of whatever curve fitting
technique this curve fitter uses.
|
getChiSquaredError, getChiSquaredError, getComponentCount, getCurve, getData, getEstimates, getFirst, getFixed, getLast, getReducedChiSquaredError, getReducedChiSquaredError, setComponentCount, setCurve, setData, setData, setFixed
protected static final LMCurveFitter.ExpFunction[] EXP_FUNCTIONS
protected static final Hashtable EXP_X_VALS
protected static final Hashtable EXP_WEIGHTS
protected jaolho.data.lma.LMA lma
protected int iterCount
public static PrintStream filter(PrintStream out)
public void iterate()
CurveFitter
iterate
in interface ICurveFitter
iterate
in class CurveFitter
public int getIterations()
CurveFitter
getIterations
in interface ICurveFitter
getIterations
in class CurveFitter
public void estimate()
CurveFitter
estimate
in interface ICurveFitter
estimate
in class CurveFitter
Copyright © 2015–2022 SciJava. All rights reserved.