This class defines a widget for displaying the HDUs in the current FITS image. The user can select a FITS table or image extension to display by clicking on an entry the list or on one of the small images displayed in a table.
buttons Button frame at bottom of window. image_table Frame (BLT table) used to display images in FITS extensions. table TableList(n) widget for displaying the list of HDUs.
-catinfo Name of the FITS table containing catalog config info. -image Target SkyCatCtrl itcl class object.
add_image_bindings {im hdu name} Add bindings to the given RtdImage itcl class object and set it to display the given HDU when clicked on. The image's extension name is also given. delete_hdu {} Select an HDU to display. This makes it the current HDU (XXX TO BE DONE: should also delete entry from $catinfo table). display_fits_table {name hdu} Display the current FITS table. get_config_entry_from_fits_table {extname filename} Return the catalog config entry for the named FITS table, if available, or a default entry. If the current FITS file contains an HDU named $catinfo, with an entry for the named catalog ($extname), then extract and return that entry as a Tcl keyed list. init {} This method is called after the options have been evaluated. make_buttons {} Add a row of buttons at bottom. make_image_table {} Make a subwindow for displaying miniature versions of image extensions. make_short_help {} Add a short help window. make_table {} Make the table component for displaying the HDU info. resize {im new_width new_height} This method is called when the image window is resized. The rtdImage widget and the new width and height are given. select_hdu {} This method is called when a line in the HDU list is selected. Update the states of the buttons depending on the selection. select_image_hdu {hdu} This method is called when the user clicks on an image HDU icon. Display the selected image and disable the delete button. set_hdu {} Set the HDU to display. Makes the currently selected HDU the current HDU.
ext_ Array(HDUIndex,keyword) of image keyword and widget info. filename_ Name of image file. image_ Internal rtdimage object. imagetab_ Table displaying image extensions. num_images_ Number of image HDUs in the current FITS file. table_ Table displaying the HDUs.
Please send questions or comments to abrighto@eso.org.
Copyright © 1998 ESO - European Southern Observatory