I am trying to call a function file "el2xv.pro" which I have in my working directory. I tried both ways below with no luck. Please help. >>> from idlpy import * >>> IDL.el2xv(Mcen, a, E, I, O, w, M) % Attempt to call undefined function: 'EL2XV'. % Execution halted at: $MAIN$ Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/harris/idl87/lib/bridges/idlpy.py", line 288, in __call__ if err: raise IDLError(output) idlpy.IDLError: % Attempt to call undefined function: 'EL2XV'. >>> import el2xv >>> el2xv(Mcen, a, E, I, O, w, M) Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: 'module' object is not callable
|