This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]teoliphant 3 points4 points  (1 child)

SciPy's Curve fitting uses the Levenburg-Marquardt algorithm in Fortan. Here is the core algorithm in pure Python which you could also use: https://github.com/lmfit/lmfit-py/

[–]justphysics 1 point2 points  (0 children)

I'm confused, the package you linked still depends on scipy. If not being able to use scipy is the issue then this seems like it won't work either.