Interaction between CLI and GUI
1. Pass an existing object into GUI as argument in call to hessi
Example: hessi, image_obj
2. After starting GUI, retrieve object(s) used in GUI to command line
through call to
hessi_data.
Example: hessi_data, image=image_obj
In both cases, the object is then shared between GUI and CLI. Modifications
made to the object from the CLI will be seen in the GUI, and vice versa.
hessi_data can also be called after exiting the GUI to retrieve the object(s)
used in the GUI.
3. Image object in the GUI or CLI can be saved in a FITS file, and
restored in either
the GUI or CLI. The FITS file contains all the
parameters used in the image
object so that the object can be completely restored.
Example: image_obj -> fitswrite
image_obj = hsi_image_fitsread (/object)