Package gov.nih.mipav.model.algorithms
Class DSC_MRI_toolbox.gauss2Fitting
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.NLConstrainedEngine
-
- gov.nih.mipav.model.algorithms.DSC_MRI_toolbox.gauss2Fitting
-
- Enclosing class:
- DSC_MRI_toolbox
class DSC_MRI_toolbox.gauss2Fitting extends NLConstrainedEngine
-
-
Field Summary
-
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 gauss2Fitting(double[] x0, boolean doAnalytical)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
driver()
Starts the analysis.void
dumpResults()
Display results of gauss 2 curve Fitting.void
fitToFunction(double[] a, double[] residuals, double[][] covarMat)
Fit to function.-
Methods inherited from class gov.nih.mipav.model.algorithms.NLConstrainedEngine
dumpTestResults, fitToTestFunction, getChiSquared, getExitStatus, getIterations, getParameters, getResiduals, statusMessage
-
-
-
-
Method Detail
-
fitToFunction
public void fitToFunction(double[] a, double[] residuals, double[][] covarMat)
Fit to function.- 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.
-
driver
public void driver()
Starts the analysis.- Overrides:
driver
in classNLConstrainedEngine
-
dumpResults
public void dumpResults()
Display results of gauss 2 curve Fitting.
-
-