Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I have to do it very frequently. I use scipy for that purpose. I am not sure whether you are looking for a analytic function or a callable function. Have a look at following links http://www.scipy.org/Cookbook/FittingData http://docs.scipy.org/doc/scipy/reference/interpolate.html

I have to do it very frequently. I use scipy for that purpose. I am not sure whether you are looking for a analytic function or a callable function. Have a look at following links http://www.scipy.org/Cookbook/FittingData links

http://www.scipy.org/Cookbook/FittingData

http://docs.scipy.org/doc/scipy/reference/interpolate.html