On Wed, Apr 24, 2013 at 12:12 AM, Debashish Saha <silid...@gmail.com> wrote: > > --> 168 exec compile(scripttext, filename, 'exec') in glob, loc
This part of the traceback is from IPython. It would help if you ran your script in the console using just python.exe, and provide the complete traceback. > --> 193 np.savetxt(f, np.array([t, Am_cor(t)]).T) > > error: First argument must be a callable function. The above error is probably from SciPy interpolate (fitpack.error), integrate (quadpack.error), or optimize (minpack.error) -- and looks to be raised in Am_cor(t). Example error: >>> integrate._quadpack._qagie('not a callable', 1.0, 1) Traceback (most recent call last): File "<stdin>", line 1, in <module> quadpack.error: First argument must be a callable function. _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor