Package qubx :: Package fast :: Module fit
[hide private]
[frames] | no frames]

Module fit

source code

Compiled routines for curve fitting.

Copyright 2008-2013 Research Foundation State University of New York This file is part of QUB Express.

QUB Express is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

QUB Express is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License, named LICENSE.txt, in the QUB Express program directory. If not, see <http://www.gnu.org/licenses/>.

Functions [hide private]
 
lmmin_fit(curve, param_vals, xx, yy, ww, vvv, on_iter, on_status, max_iter, toler)
Returns: (final param_vals, sum_sqr_residual, iterations, fit_curve_samples)
source code
 
dfpmin(pars, func, on_iter, max_iter=100, conv=1e-05, conv_grad=1e-05, step_max=1.0) source code
Variables [hide private]
  __package__ = 'qubx.fast'
Function Details [hide private]

lmmin_fit(curve, param_vals, xx, yy, ww, vvv, on_iter, on_status, max_iter, toler)

source code 
Returns:
(final param_vals, sum_sqr_residual, iterations, fit_curve_samples)