STScI Logo

xdisplay xray.xplot


NAME · USAGE · DESCRIPTION · PARAMETERS · EXAMPLES · BUGS · SEE_ALSO

NAME

xdisplay -- Load and display Xray images in a TV display

USAGE

xdisplay image

DESCRIPTION

Xdisplay calls task display in images.tv with default parameters set to load Xray images conveniently. See the description of display for a detailed description of the task and algorithms used to map and scale the image. Any IRAF IMAGE type (extension) is accepted, IMH, QP, HHH, PL.

PARAMETERS

image = "" prompt = image to be displayed

Image to be loaded.

(frame = 1) [int]

Display frame to be loaded.

(erase = yes) [boolean]

Erase frame before loading image?

(border_erase = no) [boolean]

Erase unfilled area of window in display frame if the whole frame is not erased?

(select_frame = yes) [boolean]

Select the display frame to be the same as the frame being loaded?

(fill = no) [boolean]

Interpolate the image to fit the display window?

(zscale = no) [boolean]

Apply an automatic intensity mapping algorithm when loading the image?

(contrast = 0.25) [real]

Contrast factor for the automatic intensity mapping algorithm.

(zrange = yes) [boolean]

If not using the automatic mapping algorithm (zscale = no ) map the full range of the image intensity to the full range of the display?

(nsample_lines = 512) [int]

Number of sample lines to use in the automatic intensity mapping algorithm.

(xcenter = 0.5, ycenter = 0.5) [real]

Horizontal and vertical centers of the display window in normalized coordinates measured from the left and bottom respectively.

(xsize = 1.0, ysize = 1.0) [real]

Horizontal and vertical sizes of the display window in normalized coordinates.

(xmag = 1., ymag = 1.) [real]

Horizontal and vertical image magnifications when not filling the display window. Magnifications greater than 1 map image pixels into more than 1 display pixel and magnifications less than 1 map more than 1 image pixel into a display pixel.

(order = 0) [int]

Order of the interpolator to be used for spatially interpolating the image. The current choices are 0 for pixel replication, and 1 for bilinear interpolation.

(z= 0.0) [real]

Minimum image intensity to be mapped to the minimum display level. This value is appled by default, when zscale and zrange are set to default values of no.

(z= 30.0) [real]

Maximum image intensity to be mapped to the maximum display level. This value is appled by default, when zscale and zrange are set to default values of no.

(ztrans = "linear") [string]

Transformation of the image intensity levels to the display levels. The choices are:

"linear"
Map the minimum and maximum image intensities linearly to the minimum and maximum display levels.
"log"
Map the minimum and maximum image intensities linearly to the range 1 to 1000, take the logrithm (base 10), and then map the logrithms to the display range.
"none"
Apply no mapping of the image intensities (regardless of the values of zcale, zrange, z1, and z2 ). For most image displays, values exceeding the maximum display value are truncated by masking the highest bits. This corresponds to applying a modulus operation to the intensity values and produces "wrap-around" in the display levels.
"user"
User supplies a look up table of intensities and their corresponding greyscale values.
(lutfile = "") [string]

Name of text file containing the look up table when ztrans = "user". The table should contain two columns per line; column 1 contains the intensity, column 2 the desired greyscale output.

EXAMPLES

Display IMAGE file xdata$rh110267_img to the tv device.

	xp> xdisplay xdata$rh110267_img

Display QPOE file xdata$rp110590, full field (ROSAT/PSPC)

	xp> xdisplay xdata$rp110590.qp[bl=30]

Display QPOE file xdata$rh110267, full field (ROSAT/HRI)

	xp> xdisplay xdata$rh110267.qp[bl=16]

Display AR LAC object at 2" resolution using QPOE file xdata$rp110590 (ROSAT/PSPC)

	xp> xdisplay xdata$rp110590.qp[bl=4][1477:1988,2081:2592]

Display QPOE file xdata$rh110267.qp (ROSAT/HRI) to the tv device in DETECTOR coorindates.

         xp> xdisplay "xdata$rh110267.qp[key=(rawx,rawy),bl=8][1:512,1:512]

Display QPOE file xdata$rp110590.qp (ROSAT/PSPC) to the tv device in DETECTOR coorindates.

          xp> xdisplay "xdata$rp110590.qp[key=(detx,dety),bl=15][1:512,1:512]

BUGS

Autoscaling does NOT work correctly with *.PL files, so users should first do:

	minmax xdata$rp110590_mex.pl force+
	xdisplay xdata$rp110590_mex.pl zrange- zscale- z1=0. z2=<max>

SEE ALSO

display for details on the TV parameter settings. help qpoe to see how to display QPOE files in other coordinate systems (e.g. detector coordinates). xexamine to automatically display the file, and zoom in on features of interest using the IMAGE cursor. (Automatically calculates appropriate block factors and IMAGE section coordinates.)


Source Code · Search Form · STSDAS