We have setup our IDL on a Linux server. Running IDL.pro scripts are fine, no issues at all. But neither the Jupyter Notebook or the iPython-terminal will work with IDL-tools. I can execute simple commands from the examples: CODE: In [8]: IDL.run('arr = FINDGEN(100)') In [9]: IDL.run('help, arr', stdout=1) ARR FLOAT = Array[100] But when I want to use a Task or similar, this happens: In [14]: spec = IDL.fft_powerspectrum(arr, 0.1) % Attempt to call undefined function: 'FFT_POWERSPECTRUM'. % Execution halted at: $MAIN$ --------------------------------------------------------------------------- IDLError Traceback (most recent call last) <ipython-input-14-a285c140d0b4> in <module> ----> 1 spec = IDL.fft_powerspectrum(arr, 0.1) /usr/local/harris/envi55/idl87/lib/bridges/idlpy.py in __call__(self, *args, **kw) 286 result = pyidl.callFunction(self.fn, args, kw) 287 err, output = IDLFinishCall() --> 288 if err: raise IDLError(output) 289 return result 290 IDLError: % Attempt to call undefined function: 'FFT_POWERSPECTRUM'. The same thing happens when I try to run the included notebook made by Harris: See this image: https://imgur.com/xCdPptr Any idea what I can do? We are running IDL 8.7.2, Python 3.6.8
|