Name

do_check_boxes -- define and verify slitmask alignment box coordinates using either blue or red side data with default settings. Analyzes the image in progress if currently taking data or the most recent image if no image is in progress.

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

Usage

do_check_boxes [image]
check_boxes image 

Parameters

image Name of the input LRIS image showing slitmask alignment boxes.
optional
maskname.box Defaults to using a coordinate file named maskname.box, and has the x,y coordinates for box centers. The maskname is as seen in xlirs or the header keyword slitname. You can force a naming convention by specifying a name (not recommended).
doxbox = yes Flag whether to run the xbox task after boxes have been verified.

Description

The check_boxes and do_check_boxes tasks have you interactively define the list of box coordinates required by the do_lbox and lbox routines for slitmask alignment, and to verify visually that existing coordinates match up with their respective boxes.

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 dolbox-" to run the program; you will be prompted to enter the name of the input image. 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 lbox 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. 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 lbox.

Bugs

See Also

lbox, tvmark