| disconlab | stsdas.graphics.sdisplay | disconlab |
disconlab -- Display an image with contours and coordinate labels.
disconlab image
This task combines image display functions with the ability to overlay a registered contour map, a celestial coordinate grid (with labels), and a map of the HST focal plan---any of these three elements may be included or excluded for a particular image.
By default, the displayed image is used for the other plotting options, contouring, labelling, and aperture location. However, different images may be specified for any of the individual plotting options.
The following tasks are used by disconlab:
display newcont siaper wcslab
For all tasks, the only parameters used by disconlab are the input/image parameters and graphics device parameters. All other parameters are left at their default value. To modify the behavior of any of the above tasks in disconlab, first change the tasks parameters using epar, then run disconlab.
The image that is used to calculate the coordinate grid must contain the appropriate header parameters describing the transformation between pixel coordinates of the image and celestial coordinates, whether or not the coordinate and displayed images are the same. Note also that disconlab assumes that the displayed image is in registration with the contour and coordinate images---if they are different images.
This task calls the display task with the option fill=yes, which resamples the image to fill the specified portion of the frame buffer.
WARNING -- There are two versions of the wcslab task, one in the STSDAS graphics.stplot package and the other in the IRAF images.tv package. Unfortunately, the parameter sets are not interchangeable. Make sure the stsdas.graphics.stplot package is loaded last before running disconlab.
If set to "yes", then call the display task. Note that the only parameters to the display task that are changed are image, frame, and fill. All others use current values.
If set to "yes", contours will be overlaid using the color set by the contcol paramter. By default, contours will be computing using the displayed image, although a different image can be specified using the cimage parameter.
The color of the plotted contours.
If label=yes, coordinate labels will be drawn over the displayed image. If the limage parameter specifies an image, use the coordinate transformation in that image. Otherwise, use the displayed image. Note that the image must contain the appropriate header parameters describing the transformation between pixel coordinates of the image and celestial coordinates. Note also that disconlab assumes that the displayed image is in registration with the coordinate image, if they are different images.
If this is the null string, then use the displayed image. Note that this image is assumed to be the same size and registered with the displayed image.
The color of the coordinate labels.
This is the left edge of the image will be at this fraction of the total display from the left edge of the buffer. The default (0.1) provides a 10% margin between the edge of the displayed image and the edge of the frame buffer.
This is the right edge of the image will be at this fraction of the total display from the right edge of the buffer. The default (0.1) provides a 10% margin between the edge of the displayed image and the edge of the frame buffer.
This is the bottom edge of the image will be at this fraction of the total display from the bottom edge of the buffer. The default (0.1) provides a 10% margin between the edge of the displayed image and the edge of the frame buffer.
This is the top edge of the image will be at this fraction of the total display from the top edge of the buffer. The default (0.1) provides a 10% margin between the edge of the displayed image and the edge of the frame buffer.
1. Display the image optical, overlaid with contours of the image radio, labeled with the coordinates of the displayed image:
pl> disconlab optical contim=radio, contcol=green, / >>> lablcol=yellow
STSDAS Contact: Jonathan Eisenhamer
display, newcont, wcslab, siaper