I saw your tkinter calculator code and thought you might like to see my Python GUI graphical curve fitter and surface fitter on github, BSD license. The matplotlib 3D surface plots of the fitted equations look really cool.
The code uses a linear solver if the equation is linear, and a non-linear Levenberg-Marquardt solver from scipy if the equation is non-linear. It automatically uses a genetic algorithm to produce initial parameter estimates for the non-linear solver.
The URL on github is https://github.com/zunzun/tkInterFit
James Phillips
I saw your tkinter calculator code and thought you might like to see my Python GUI graphical curve fitter and surface fitter on github, BSD license. The matplotlib 3D surface plots of the fitted equations look really cool.
The code uses a linear solver if the equation is linear, and a non-linear Levenberg-Marquardt solver from scipy if the equation is non-linear. It automatically uses a genetic algorithm to produce initial parameter estimates for the non-linear solver.
The URL on github is https://github.com/zunzun/tkInterFit
James Phillips