OSIRIS is an infrared integral-field spectrograph built for the Keck AO system. Integral-field spectrographs produce very complicated raw data products, and OSIRIS is no exception. OSIRIS produces frames that contain up to 4096 interleaved spectra. In addition to the IFU capabilities of OSIRIS, the instrument is equipped with a parallel-field imager to monitor current AO conditions by imaging an off-axis star and evaluating its PSF. The design of the OSIRIS software was driven by the complexity of the instrument, switching the focus from simply controlling the instrument components to targeting the acquisition of usable scientific data.
OSIRIS software integrates the planning, execution, and reduction of observations. An innovation in the OSIRIS control software is the formulation of observations into 'datasets' rather than individual frames. Datasets are functional groups of frames organized by the needs and capabilities of the data reduction software (DRS). A typical OSIRIS dataset consists of dithered spectral observations, coupled with the associated imaging data from the parallel-field AO PSF imager. A Java-based planning tool enables 'sequences' of datasets to be planned and saved both prior to and during observing sessions. An execution client interprets these XML-based files, configures the hardware servers for both OSIRIS and AO, and executes the observations. The DRS, working on one dataset of raw data at a time, produces science-quality data that is ready for analysis. This methodology should lead to superior observational efficiency, decreased likelihood of observer error, minimized reduction time, and therefore, faster scientific discovery.