Re: Fitting/minimizing Python functions.

From: <wlavrijsen_at_lbl.gov>
Date: Tue, 28 Feb 2012 10:13:40 -0800


Brett,

> * ROOT has a copy of the C++ rewrite, Minuit2. In principle this would
> give a more "pythonic" interface but currently requires subclassing > from C++ so is apparently a non-starter for Python functions (?)

there are TPyMultiGenFunction and TPyMultiGradFunction to serve as bases.

> * There is ROOT.Fit.Fitter() but it won't accept a Python function (?)

It should: Fit::Fitter::FitFCN() is pythonized to accept python functions.

Best regards,

            Wim

-- 
WLavrijsen_at_lbl.gov    --    +1 (510) 486 6411    --    www.lavrijsen.net
Received on Tue Feb 28 2012 - 19:13:50 CET

This archive was generated by hypermail 2.2.0 : Tue Feb 28 2012 - 23:50:01 CET