mingrisch / compartmentmodels

Tracer-kinetic models for DCE MRI
BSD 3-Clause "New" or "Revised" License
5 stars 3 forks source link

Scipy optimize! #6

Closed mingrisch closed 9 years ago

mingrisch commented 9 years ago

rewrite the fit function so that scipy.optimize.minimize can be used.

mingrisch commented 9 years ago

Basically, it needs to accept the proper parameters and to return the sum of squared residuals. A wrapper around the implemented function should do the trick.

mingrisch commented 9 years ago

And implement the fitting routine using L-BFGS-B!