[SciPy-User] fitting data

Johann Cohen-Tanugi cohen@lpta.in2p3...
Thu Jul 30 02:20:03 CDT 2009


oops sorry, I did not pay attention. Yes Emmanuelle is right, leastsqr 
is the way to go, only very slightly more involved for a beginner, the 
cookbook page is great to learn to use it.

Johann

Scott Sinclair wrote:
>> 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
> _______________________________________________
> SciPy-User mailing list
> SciPy-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>   


More information about the SciPy-User mailing list