Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered 14 years ago

Shashank gravatar image

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

click to hide/show revision 2
No.2 Revision

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