![]() |
libSUFR
a LIBrary of Some Useful Fortran Routines
|
Procedures to fit functions to data. More...
Go to the source code of this file.
Modules | |
module | sufr_fitting |
Procedures to fit functions to data. | |
Functions/Subroutines | |
subroutine, public | sufr_fitting::linear_fit_yerr (ndat, xdat, ydat, yerr, ncoef, fcoef, freecoef, ncov, covmat, chisq, myfunc) |
Fit the model coefficients using a chi^2 method. | |
subroutine, public | sufr_fitting::nonlin_fit_yerr (ny, ndat, xdat, ydat, yerr, ncoef, fcoef, freecoef, nmat, covmat, curvmat, chisq, iterstat, myfunc) |
Levenberg-Marquardt method to reduce the value of chi-squared of a fit of a set of data points with errors in Y to a non-linear function. | |
subroutine, public | sufr_fitting::nonlin_fit_example_myfunc (ny, xdat, ncoef, fcoef, ydat, dyda) |
Dummy example function myFunc for nonlin_fit_yerr(): return the value and partial derivatives. | |
pure subroutine, public | sufr_fitting::basefunc_polynomial (xval, ncoef, basefunc) |
User-provided base function to fit a polynomial to. | |
Procedures to fit functions to data.
Definition in file fitting.f90.