You can try the below tutorial.

1. http://wiki.scipy.org/Cookbook/FittingData

2. http://people.duke.edu/~ccc14/pcfb/analysis.html

Also, take a look at the below curve fitting tool from optimization tool
set of scipy. I think it will help you better and with ease.

http://docs.scipy.org/doc/scipy/reference/generated/scipy.optimize.curve_fit.html

If you are writing program on your own try lambda to define your function,
use some library module like scipy for fitting / optimization and library
module like pylab to plot.
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to