Re: Help with IDL program [message #15294] |
Mon, 03 May 1999 00:00 |
Pavel Romashkin
Messages: 166 Registered: April 1999
|
Senior Member |
|
|
Anil Kochhar wrote:
> However I'd like
> to create an idl program which will simply read the fits files into the
> image variables (image1, image2, image3)
> commands, and then use the color.pro program to only modify the three
> image variables. I would like to do this because I am reading in the
> same fits files every time and it takes a long time to read in these fits
> files.
Why not modify batch files to procedures? No unneeded data will remain at the
main level. Passing once created arrays is easy. Certainly, use David's
advice on making temporary arrays. More flexibility will be available, like
repeated and interactive limiting etc.
Cheers,
Pavel
|
|
|