process focus observations in the quick-look pipeline


This recipe processes data for FOCUS observations, creating images for each SMU position. When enough data exist - defined as the existence of a minimum number of images for the last of the expected focus positions - the images for each focus position are combined and a data cube is created with SMU offset in mm as the third axis.

Once the cube has been created, a flag file is written to indicate to the telescope POINTING_FOCUS task that processing is complete. The recipe also makes its own estimate of the best-fit focus position by fitting a parabola to the fitted peak flux densities at each SMU position. The solution is written to a log file, log.focus.

This primitive is largely the same as REDUCE_FOCUS with minor modifications to handle data as they are taken.



The cube displayed in a Kapview window with the image at each SMU position displayed in a separate panel.