Class AlgorithmTimeFitting.FitMultiExponential

    • Field Detail

      • ydata

        final double[] ydata
    • Constructor Detail

      • FitMultiExponential

        public FitMultiExponential​(int tDim,
                                   double[] ydata,
                                   double[] initial,
                                   boolean[] useBounds,
                                   double[] lowBounds,
                                   double[] highBounds)
    • Method Detail

      • dumpResults

        public void dumpResults()
        Display results of displaying multiExponential fitting parameters.
      • fitToFunction

        public void fitToFunction​(double[] a,
                                  double[] residuals,
                                  double[][] covarMat)
        Fit to function - a0 + a1*exp(a2*t) + a3*exp(a4*t) + ... where all the exponentials are negative decaying exponentials.
        Specified by:
        fitToFunction in class NLConstrainedEngine
        Parameters:
        a - The best guess parameter values.
        residuals - ymodel - yData.
        covarMat - The derivative values of y with respect to fitting parameters.