Package gov.nih.mipav.model.algorithms
Class AlgorithmConstELSUNCOpt3D.FitOAR3DConstrainedModel
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.NLConstrainedEngine
-
- gov.nih.mipav.model.algorithms.AlgorithmConstELSUNCOpt3D.FitOAR3DConstrainedModel
-
- Enclosing class:
- AlgorithmConstELSUNCOpt3D
class AlgorithmConstELSUNCOpt3D.FitOAR3DConstrainedModel extends NLConstrainedEngine
-
-
Field Summary
Fields Modifier and Type Field Description private int
currentDim
-
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 FitOAR3DConstrainedModel(int currentDim)
Creates a new FitOAR3DConstrainedModel 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 OAR3DConstrained fitting parameters.void
fitToFunction(double[] a, double[] residuals, double[][] covarMat)
fitToFunction communicates with 3 protected variables param, nPts, and ctrlMat ctrlMat is used as a wrapper for ctrl or lctrl.-
Methods inherited from class gov.nih.mipav.model.algorithms.NLConstrainedEngine
dumpTestResults, fitToTestFunction, getChiSquared, getExitStatus, getIterations, getParameters, getResiduals, statusMessage
-
-
-
-
Method Detail
-
driver
public void driver()
Starts the analysis.- Overrides:
driver
in classNLConstrainedEngine
-
dumpResults
public void dumpResults()
Display results of displaying OAR3DConstrained fitting parameters.
-
fitToFunction
public void fitToFunction(double[] a, double[] residuals, double[][] covarMat)
Description copied from class:NLConstrainedEngine
fitToFunction communicates with 3 protected variables param, nPts, and ctrlMat ctrlMat is used as a wrapper for ctrl or lctrl. Evaluates the residuals or the Jacobian at a certain a[]- Specified by:
fitToFunction
in classNLConstrainedEngine
- Parameters:
a
- The best guess parameter values.residuals
- ymodel - yData.covarMat
- The derivative values of y with respect to fitting parameters.
-
-