There are two ways to interact with Kang, either through
the GUI interface, or by the commandline using the program's object
reference. In the first method, you can call up the program and
pass various arguments. For example, to load an image from file and
zoom in on a particular region, you might type:
IDL> Kang, 'file1.fits', limits = [40.5, 40.8, -0.3, 0]
A full listing of these arguments is outlined here.
In the second method, you would load the program like so:
IDL> Kang, obj = obj, /nogui
The object reference is now stored in "obj" and there is no GUI display. You would then proceed to call object methods, which are like little routines. In IDL, object methods are called using the "->" operator. For example, if the object reference is "obj", we could load an image like this:
IDL> obj->Load, 'file1.fits' Then we could zoom in as before like this:
IDL> obj->Limits, 40.5, 40.8, -0.3, 0
To bring up the display:
There are many object methods, and they are all listed here.