user3914518
user3914518

Reputation: 13

scipy curve_fit returns error for keyword absolute_sigma

I am using ubuntu 14.04 on python 2.7 with numpy version 1.8.1 and scipy version 0.13.3. When I do a curve_fit with the keyword absolute_sigma=True, I get the message:

TypeError: leastsq() got an unexpected keyword argument 'absolute_sigma'

I updated numpy and scipy to the versions mentioned above as the keyword absolute_sigma seems to be a new feature. However, no success!

any ideas how to solve this issue? Do I need scipy 0.14... ?

Thanks a lot

Upvotes: 0

Views: 2524

Answers (1)

unutbu
unutbu

Reputation: 880399

The absolute_sigma parameter was added in version 0.14. Compare the call signatures:

Upvotes: 1

Related Questions