A SkyQuery widget is a frame containing entries for search options (inherited from class AstroQuery) with added support for plotting objects in an image.
convert_coords {in_x in_y in_units out_units} Convert the given input coordinates in the given input units to the given output units and return a list {x y} with the new values. The units may be one of {canvas image wcs deg "wcs $equinox", "deg $equinox"}. get_image_center_radius {wcs_flag} Return a list of values indicating the center coordinates and radius of the current image. If wcs_flag is 1, the return list is {ra dec equinox radius-in-arcmin}, otherwise {x y radius-in-pixels}. If no image is loaded, an empty string is returned. get_image_center_width_height {wcs_flag} Return a list of values indicating the center coordinates and the width and height of the current image. If wcs_flag is 1, the return list is {ra dec equinox width height}, width and height in arcmin, otherwise {x y width height} in pixels. If no image is loaded, an empty string is returned. select_area {} Ask the user to select an area to search interactively and insert the resulting radius and center pos in the catalog window. select_image_area {wcs_flag} Ask the user to select an area of the image by dragging out a region on the image return the resulting center pos and radius as a list of {x y radius-pixels}, or {ra dec equinox radius-in-arcmin} if wcs_flag is 1. If we are dealing with an image server, the radius value is replaced by width and height, i.e.: {ra dec equinox width height}, where width and height are in arcmin for wcs or pixels otherwise. An empty string is returned if there is no image or the user cancels the operation. set_default_values {} Set the default values for the search panel entries: (redefined from parent class AstroCat to set values from the image). set_from_image {} Set the default search values to the center position and radius of the image, (for catalogs) of width and height of image (for image servers).
add_search_options {} Add (or update) the search options panel (redefined from parent class AstroCat to add buttons).
Please send questions or comments to abrighto@eso.org.
Copyright © 1998 ESO - European Southern Observatory