Hi, I am trying to calculate a function with a complete elliptic integral of the 1st kind
I have defined Phase = 4.*sqrt(p/(p -6. - 2.*e)) * ellipk(-4.*e/(p - 6. -2.*e)) where a_mpc = 4.0 p = a_mpc * (1 - e**2.) and I have of course done this #!/usr/bin/env python from pylab import * But when calling the script, I get: NameError: name 'ellipk' is not defined What am I doing wrong? Any help will be very much appreciated. Thanks a lot, Pau ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users