Package gov.nih.mipav.model.algorithms
Class AlgorithmFRAP.FitDoubleExponentialNoWholeConstrainedModel
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.NLConstrainedEngine
-
- gov.nih.mipav.model.algorithms.AlgorithmFRAP.FitDoubleExponentialNoWholeConstrainedModel
-
- Enclosing class:
- AlgorithmFRAP
class AlgorithmFRAP.FitDoubleExponentialNoWholeConstrainedModel extends NLConstrainedEngine
DOCUMENT ME!
-
-
Field Summary
Fields Modifier and Type Field Description private double[]
xData
private float[]
yData
-
Fields inherited from class gov.nih.mipav.model.algorithms.NLConstrainedEngine
a, absoluteConvergence, analyticalJacobian, bl, bounds, bu, ctrlMat, dyda, gues, internalScaling, iters, jacobian, maxIterations, nPts, outputMes, param, parameterConvergence, relativeConvergence, residuals, secondAllowed, stdv, tolerance
-
-
Constructor Summary
Constructors Constructor Description FitDoubleExponentialNoWholeConstrainedModel(int nPoints, double[] xData, float[] yData, double[] initial)
Creates a new FitDoubleExponentialNoWholeConstrainedModel object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
driver()
Starts the analysis.void
dumpResults()
Display results of displaying exponential fitting parameters.void
fitToFunction(double[] a, double[] residuals, double[][] covarMat)
Fit to function - a3 + (1-a3)*[1 - ao*exp(a1*x) - (1 - a0)*exp(a2*x)].-
Methods inherited from class gov.nih.mipav.model.algorithms.NLConstrainedEngine
dumpTestResults, fitToTestFunction, getChiSquared, getExitStatus, getIterations, getParameters, getResiduals, statusMessage
-
-
-
-
Constructor Detail
-
FitDoubleExponentialNoWholeConstrainedModel
public FitDoubleExponentialNoWholeConstrainedModel(int nPoints, double[] xData, float[] yData, double[] initial)
Creates a new FitDoubleExponentialNoWholeConstrainedModel object.- Parameters:
nPoints
- DOCUMENT ME!xData
- DOCUMENT ME!yData
- DOCUMENT ME!initial
- DOCUMENT ME!
-
-
Method Detail
-
driver
public void driver()
Starts the analysis.- Overrides:
driver
in classNLConstrainedEngine
-
dumpResults
public void dumpResults()
Display results of displaying exponential fitting parameters.
-
fitToFunction
public void fitToFunction(double[] a, double[] residuals, double[][] covarMat)
Fit to function - a3 + (1-a3)*[1 - ao*exp(a1*x) - (1 - a0)*exp(a2*x)].- Specified by:
fitToFunction
in classNLConstrainedEngine
- Parameters:
a
- The x value of the data point.residuals
- The best guess parameter values.covarMat
- The derivative values of y with respect to fitting parameters.
-
-