Achieving reusability in KMOS instrument software through design patterns

KMOS is a near-infrared multi-object spectrometer, which is currently being built by a British-German consortium for the ESO VLT. As for any other VLT instrument, the KMOS instrument software is based on the application framework given by the VLT Common Software, but faces particular design challenges in addition. As separate parts of the software require a similar functionality with respect to mechanical and optical permissibility checks, user interface, and configuration control, a number of tasks have to be implemented twice and slightly differently. It turns out that most of these issues can be tackled successfully by means of well-known object-oriented design patterns, providing for reusability and improving the overall software design. We present a set of sample problems along with their particular pattern solution.

[1]  B. Muschielok,et al.  KARMA: the observation preparation tool for KMOS , 2008, Astronomical Telescopes + Instrumentation.

[2]  Stephen Todd,et al.  Mechanical design and testing of the cryogenic pick-off arms for the VLT KMOS , 2008, Astronomical Telescopes + Instrumentation.

[3]  Michele Cirasuolo,et al.  First end-end performance testing and results for KMOS , 2010, Astronomical Telescopes + Instrumentation.

[4]  Stephen Todd,et al.  KMOS pick-off arm optical alignment, calibration, and testing , 2010, Astronomical Telescopes + Instrumentation.

[5]  Stephen Rolt,et al.  Recent progress on the KMOS multi-object integral-field spectrograph for ESO VLT , 2010, Astronomical Telescopes + Instrumentation.

[6]  Ralph Johnson,et al.  design patterns elements of reusable object oriented software , 2019 .