16 Commits

Author SHA1 Message Date
Wirawan Purwanto
70ae2812c3 * wpylib.math.fitting.fit_func_base: changed default fitting method to leastsq. 2015-06-04 16:06:21 -04:00
Wirawan Purwanto
78c638a371 * Bug fixes and documentation update. 2015-05-28 17:20:34 -04:00
Wirawan Purwanto
e46fcec698 * Imported more recent function fitting facility from Cr2 project. 2015-05-21 11:34:03 -04:00
Wirawan Purwanto
82a55b940a * wpylib.math.fitting: Imported fit_func_base from Cr2 project.
* Added documentation on fitting methods.
2015-05-20 11:47:38 -04:00
Wirawan Purwanto
4111dc2da7 * Moved Poly_base & friends to wpylib.math.fitting.funcs_poly. 2015-05-20 10:35:48 -04:00
Wirawan Purwanto
04e78ade1d * Added extra debugging statements. 2014-02-24 16:06:40 -05:00
Wirawan Purwanto
b043fb3cdf * fit_func: Added support for lmfit-based minimization.
Tested minimally in the Cr2_analysis_cbs.py workbench (routine:
  Test_MC_FPTZ_20140206).
2014-02-07 18:25:22 -05:00
Wirawan Purwanto
869aa91109 * fit_func(): Allow non-(numpy.ndarray) args for x, y, dy.
* Documentation update.
2013-10-17 13:49:50 -04:00
Wirawan Purwanto
564d1f4364 * wpylib.math.fitting.fit_func: Added support for weight (or y uncertainty).
* For `leastsq' fit method, also introduced 'xerr' output (in outfmt=0)
  as the error estimate of the fitted parameters.
2013-08-19 15:43:49 -04:00
Wirawan Purwanto
37b0939671 * Documentation clarification. 2013-08-19 15:43:19 -04:00
Wirawan Purwanto
1421cf3bc5 * wpylib.math.fitting.fit_func: Allow Guess argument to override
machine-generated guess.
* Add 'funcalls' data key to the leastsq complete output to conform to the
  fmin-style output.
2013-08-19 10:50:54 -04:00
Wirawan Purwanto
e485cabbe8 * wpylib.math.fitting.fit_func: Added optional Funct_hook argument to
be called (for debugging purposes) every time "the" Funct function
  is called.
2013-08-13 01:05:38 -04:00
Wirawan Purwanto
cdad14e034 * Added BFGS minimization. 2013-08-09 16:51:38 -04:00
Wirawan Purwanto
5b213b0ee7 * Little syntax optimization. 2012-10-15 16:45:37 -04:00
Wirawan Purwanto
908a4e0682 * Rebase fit_result on result_base. 2012-10-15 16:01:46 -04:00
Wirawan Purwanto
348c204699 * Change wpylib.math.fitting module from a file into a subdirectory. 2012-10-15 15:16:02 -04:00