IDL Astronomy Library: Some procedures doesn't work? [message #82515] |
Wed, 19 December 2012 05:50  |
Nothingness
Messages: 2 Registered: December 2012
|
Junior Member |
|
|
Hi everyone,
I have IDL and IDL Astronomy Library installed on server of my
institute. Some procedures can be executed, like hastrom, ad2xy,
correl_optimize, etc. However some others can't, like convolve,
psf_gaussian, etc. Even though their locations are in the IDL paths
and some of them (convolve and correl_optimize) are in the same
directory. And they have the same permissions.
Do you have any idea how to fix this?
Below are "ls -l" of image directory and the output of some commands.
==============================
-rw-rw-r-- 1 hnduy stapdev 1864 Dec 17 16:43 aaareadme.txt
-rw-rw-r-- 1 hnduy stapdev 5040 Dec 17 16:43 boxave.pro
-rw-rw-r-- 1 hnduy stapdev 7615 Dec 17 16:43 convolve.pro
-rw-rw-r-- 1 hnduy stapdev 6997 Dec 17 16:43 correl_images.pro
-rw-rw-r-- 1 hnduy stapdev 4312 Dec 17 16:43 correl_optimize.pro
-rw-rw-r-- 1 hnduy stapdev 5602 Dec 17 16:43 corrmat_analyze.pro
-rw-rw-r-- 1 hnduy stapdev 34640 Dec 17 16:43 cr_reject.pro
-rw-rw-r-- 1 hnduy stapdev 3819 Dec 17 16:43 dist_circle.pro
-rw-rw-r-- 1 hnduy stapdev 4837 Dec 17 16:43 dist_ellipse.pro
-rw-rw-r-- 1 hnduy stapdev 8652 Dec 17 16:43 filter_image.pro
-rw-rw-r-- 1 hnduy stapdev 7599 Dec 17 16:43 frebin.pro
-rw-rw-r-- 1 hnduy stapdev 8605 Dec 17 16:43 imlist.pro
-rw-rw-r-- 1 hnduy stapdev 2911 Dec 17 16:43 max_entropy.pro
-rw-rw-r-- 1 hnduy stapdev 3786 Dec 17 16:43 max_likelihood.pro
-rw-rw-r-- 1 hnduy stapdev 5534 Dec 17 16:43 medarr.pro
-rw-rw-r-- 1 hnduy stapdev 1794 Dec 17 16:43 positivity.pro
-rw-rw-r-- 1 hnduy stapdev 7930 Dec 17 16:43 psf_gaussian.pro
-rw-rw-r-- 1 hnduy stapdev 6102 Dec 17 16:43 rinter.pro
-rw-rw-r-- 1 hnduy stapdev 3535 Dec 17 16:43 sigma_filter.pro
-rw-rw-r-- 1 hnduy stapdev 10739 Dec 17 16:43 skyadj_cube.pro
-rw-rw-r-- 1 hnduy stapdev 2640 Dec 17 16:43 xmedsky.pro
==============================
=====================
IDL> hastrom
% Compiled module: HASTROM.
Syntax: HASTROM, oldim, oldhd, refhd
or HASTROM, oldim, oldhd, newim, newhd, refhd
[ MISSING=, DEGREE=, INTERP=, NGRID=, CUBIC = ]
IDL> ad2xy
% Compiled module: AD2XY.
Syntax -- AD2XY, a, d, astr, x, y
IDL> correl_optimize
% Compiled module: CORREL_OPTIMIZE.
Syntax - CORREL_OPTIMIZE, imA, imB, Xoffset, Yoffset
Keywords - /Monitor, /Print, XoffInit =, YoffInit =, Magnification =, /
Numpix
IDL> convolve
% Compiled module: CONVOLVE.
% Attempt to call undefined procedure/function: 'CONVOLVE'.
% Execution halted at: $MAIN$
IDL> psf_gaussian
% Compiled module: PSF_GAUSSIAN.
% Attempt to call undefined procedure/function: 'PSF_GAUSSIAN'.
% Execution halted at: $MAIN$
IDL>
=====================
|
|
|
Re: IDL Astronomy Library: Some procedures doesn't work? [message #82692 is a reply to message #82515] |
Tue, 08 January 2013 06:27  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
BlueSky writes:
> Thanks for the tips. The function psf_gaussian works properly when I input variables in, e.g. psf = psf_gaussian([12,23,19.2],npixel=50).
Ah, right. Always difficult to know how much detail to put
into answers. :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
|
|
|