comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: IDL Astronomy Library: Some procedures doesn't work?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDL Astronomy Library: Some procedures doesn't work? [message #82693 is a reply to message #82514] Tue, 08 January 2013 06:18 Go to previous messageGo to previous message
Nothingness is currently offline  Nothingness
Messages: 2
Registered: December 2012
Junior Member
On Wednesday, December 19, 2012 10:03:29 PM UTC+8, David Fanning wrote:
> Nothingness writes:
>
>
>
>> 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?
>
>
>
> Yes, call the procedures as procedures:
>
>
>
> IDL> Junk
>
>
>
> And call the functions as functions:
>
>
>
> IDL> var = Junker()
>
>
>
> Functions in IDL always return a value. You have to
>
> provide a receptacle (variable) for the value of the
>
> function to be returned in.
>
>
>
> 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.")

Hi David,
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).
D
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: compare 2-d array with vector
Next Topic: IDL Astronomy Library: Some procedures doesn't work?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 09:32:31 PDT 2025

Total time taken to generate the page: 2.40136 seconds