Package gov.nih.mipav.model.algorithms
Class AlgorithmTimeFitting.FitRayleigh
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.NLConstrainedEngine
-
- gov.nih.mipav.model.algorithms.AlgorithmTimeFitting.FitRayleigh
-
- Enclosing class:
- AlgorithmTimeFitting
class AlgorithmTimeFitting.FitRayleigh extends NLConstrainedEngine
-
-
Field Summary
Fields Modifier and Type Field Description (package private) double[]
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 FitRayleigh(int tDim, double[] ydata, double[] initial, boolean[] useBounds, double[] lowBounds, double[] highBounds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
driver()
Starts the analysis.void
dumpResults()
Display results of displaying Rayleigh fitting parameters.void
fitToFunction(double[] a, double[] residuals, double[][] covarMat)
Fit to function - a0 * (t-a1)*exp(-(t-a1)*(t-a1)/a2)*u(t - a1) with a2 > 0-
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 Rayleigh fitting parameters.
-
fitToFunction
public void fitToFunction(double[] a, double[] residuals, double[][] covarMat)
Fit to function - a0 * (t-a1)*exp(-(t-a1)*(t-a1)/a2)*u(t - a1) with a2 > 0- 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.
-
-