cl> wirc wi> focus PACKAGE = wirc TASK = focus (finc = 0.1) focus offset (pics = 20) number of focus frames (exptime= 10.) exposure time (ra = 15) RA offset (dec = 15) DEC offset (delfoc = no) delete old focus data from focus directory? (autoexa= yes) start imexamine automatically? (stploop= yes) prompt after each focus image? (status = 0) Status for script (mode = ql)
finc Focus increment in millimeters. You want to try to start the focus
script with a focus value ~ 0.5 mm lower than true focus, and then run the script with
positive increments. 0.1 mm is a good step size in reasonable Ksh seeing at Palomar.
pics The number of images the script will take. IRAF crashes if you try to stop a script with control-c, so best to choose a large number and then exit gracefully later using stploop once you think you have a good focus.
exptime Exposure time. 10 seconds is good for reasonable Palomar seeing.
ra Telescope offset between first two images in RA arcseconds.
dec Telescope offset between first two images in DEC arcseconds.
delfoc Delete any old focus data? When the script starts, a focus subdirectory is created in your working directory and all focus data is written to this subdirectory. When you run the script a second time, focus data can be deleted or added to what's already there.
autoexam Start imexamine after each image is displayed? If not, the script will continue to completion and you will have to investigate each image manually.
stploop Pause after each imexam session (or each image display if autoexam is off) and prompt to continue the script. This is the best way to exit the script if you have found a good focus.
When the focus script starts, a focus subdirectory is created and all focus data is written in this subddirectory as focus0001.fits and foc_diff1.fits. The camera gui parameters are saved, but NOT used (ie: exposure time, basename, etc).
When the focus script finishes, the telescope is moved back to the starting position, the working iraf directory is re-established, and all camera gui parameters are restored.
If the focus script crashes for some reason (hitting control-c, hitting an unrecognized key during the script or imexam), then you will have to manually return the telescope, manually backup to the iraf working directory, and manually restore camera gui parameters (sequence number in particular).
snap - Subtracts the last two images in your working directory, then displays the result
cl> wirc wi> snap PACKAGE = wirc TASK = snap (basenam= wirc) name of file prefix (autoexa= yes) start imexamine automatically? (buff = 2) ximtool display buffer (mode = ql)
cl> wirc wi> wcenter PACKAGE = wirc TASK = wcenter (X_array= 2048) Size of array in X, as set by ROI (Y_array= 2048) Size of array in Y, as set by ROI (center = yes) Move to center of array? (Xpos = 1024) Move to X position, if not moving to center (Ypos = 1024) Move to Y position, if not moving to center (mode = ql)
cl> wirc wi> wcal PACKAGE = wirc TASK = wcal (flat = yes) Take domeflats? (flatnum= 9) Number of images for each filter (dark = yes) Take dark images? (darknum= 9) Number of images for each dark SET (mode = ql)