Name

check_boxesb -- define and verify slitmask alignment box coordinates using blue side data

check_boxes -- define and verify slitmask alignment box coordinates using red side data

Usage

check_boxesb image input
check_boxes image input

Parameters

images Name of the input LRIS image showing slitmask alignment boxes.
input Name of the file listing alignment box coordinates.
doxbox = yes Flag whether to run the xbox task after boxes have been verified.

Description

The check_boxesb (blue side) and check_boxes (red side) tasks allow you to define interactively the list of box coordinates required by the xboxb and xbox program for slitmask alignment, and to verify visually that existing coordinates match up with their respective boxes. The programs apply the same shifts to the coordinates, and hence prevents confusion caused by the change in coordinates between IRAF and FIGDISP coordinates.

After launching the routine:

Examples

Creating a New Coordinate List

It isn't necessary to spend time tabulating slitmask alignment box coordinates into files because with check_boxes you can do it in a few seconds. Follow these steps to generate a new coordinate list and not run xbox:
  1. Type "check_boxes doxbox-" to run the program; you will be prompted to enter the name of the input image and the name of the box file to create. The program will send the image to the image display.
  2. For each alignment box, put the image cursor over the center of the box and press "m" to mark the box. The program will draw a red circle around each box.
  3. Type "q" to quit the task after the alignment boxes are identified.

Verifying an Existing Coordinate List

If you have a coordinate list already, you can use check_boxes as a "sanity check" to preview your box coordinates and ensure that xbox will be able to find them.
  1. Type "check_boxes doxbox+" to run the program; you will be prompted to enter the name of the input image and the name of the box file to create. The program will send the image to the image display and mark the positions of the boxes you've defined.
  2. Visually inspect the image and verify that each alignment box lies within the corresponding red circle, which indicates the coordinates you input. If a single box requires adjustment, use the "s" key to shift it. If all boxes are off by a constant amount, use the "S" key to shift them all in parallel.
  3. Type "q" to quit the task and proceed with xbox.

Bugs

See Also

xbox, tvmark