[SciPy-User] fitting data

Scott Sinclair scott.sinclair.za@gmail....
Thu Jul 30 02:21:02 CDT 2009


> 2009/7/30 Emmanuelle Gouillart <emmanuelle.gouillart@normalesup.org>:
>        There is no optimize.curve_fit im my version scipy:
>>>> from scipy import optimize
>>>> help optimize.curve_fit
> --> help(optimize.curve_fit)
> ------------------------------------------------------------
> Traceback (most recent call last):
>  File "<ipython console>", line 1, in <module>
> AttributeError: 'module' object has no attribute 'curve_fit'
>>>> import scipy
>>>> scipy.__version__
> '0.7.0'
>
>        Am I missing something?

No, it's only in SVN. It was added a few days after the 0.7 release.

http://projects.scipy.org/scipy/changeset/5543/trunk/scipy/optimize/minpack.py

Cheers,
Scott


More information about the SciPy-User mailing list