Package gov.nih.mipav.model.algorithms
Class AlgorithmFRAP.Fit24DModel
java.lang.Object
gov.nih.mipav.model.algorithms.NLConstrainedEngine
gov.nih.mipav.model.algorithms.AlgorithmFRAP.Fit24DModel
- Enclosing class:
AlgorithmFRAP
DOCUMENT ME!
-
Field Summary
FieldsFields 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
ConstructorsConstructorDescriptionFit24DModel(int nPoints, double[] xData, float[] yData, double[] initial) Creates a new Fit24DModel object. -
Method Summary
Modifier and TypeMethodDescriptionvoiddriver()Starts the analysis.voidDisplay results of displaying exponential fitting parameters.voidfitToFunction(double[] a, double[] residuals, double[][] covarMat) Fit to function - a0 - a1*(a2**x).Methods inherited from class gov.nih.mipav.model.algorithms.NLConstrainedEngine
dumpTestResults, fitToTestFunction, getChiSquared, getExitStatus, getIterations, getParameters, getResiduals, statusMessage
-
Field Details
-
xData
private double[] xData -
yData
private float[] yData
-
-
Constructor Details
-
Fit24DModel
public Fit24DModel(int nPoints, double[] xData, float[] yData, double[] initial) Creates a new Fit24DModel object.- Parameters:
nPoints- DOCUMENT ME!xData- DOCUMENT ME!yData- DOCUMENT ME!initial- DOCUMENT ME!
-
-
Method Details
-
driver
public void driver()Starts the analysis.- Overrides:
driverin 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 - a0 - a1*(a2**x).- Specified by:
fitToFunctionin 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.
-