Paper
24 September 2012 Open-source framework for documentation of scientific software written on MATLAB-compatible programming languages
Mikhail V. Konnik, James Welsh
Author Affiliations +
Abstract
Numerical simulators for adaptive optics systems have become an essential tool for the research and development of the future advanced astronomical instruments. However, growing software code of the numerical simulator makes it difficult to continue to support the code itself. The problem of adequate documentation of the astronomical software for adaptive optics simulators may complicate the development since the documentation must contain up-to-date schemes and mathematical descriptions implemented in the software code. Although most modern programming environments like MATLAB or Octave have in-built documentation abilities, they are often insufficient for the description of a typical adaptive optics simulator code. This paper describes a general cross-platform framework for the documentation of scientific software using open-source tools such as LATEX, mercurial, Doxygen, and Perl. Using the Perl script that translates M-files MATLAB comments into C-like, one can use Doxygen to generate and update the documentation for the scientific source code. The documentation generated by this framework contains the current code description with mathematical formulas, images, and bibliographical references. A detailed description of the framework components is presented as well as the guidelines for the framework deployment. Examples of the code documentation for the scripts and functions of a MATLAB-based adaptive optics simulator are provided.
© (2012) COPYRIGHT Society of Photo-Optical Instrumentation Engineers (SPIE). Downloading of the abstract is permitted for personal use only.
Mikhail V. Konnik and James Welsh "Open-source framework for documentation of scientific software written on MATLAB-compatible programming languages", Proc. SPIE 8451, Software and Cyberinfrastructure for Astronomy II, 84512N (24 September 2012); https://doi.org/10.1117/12.924952
Advertisement
Advertisement
RIGHTS & PERMISSIONS
Get copyright permission  Get copyright permission on Copyright Marketplace
KEYWORDS
MATLAB

Latex

Optical simulations

Adaptive optics

Software development

Control systems

Computer programming

RELATED CONTENT

Control code for laboratory adaptive optics teaching system
Proceedings of SPIE (September 05 2017)
Role of simulations in optics education
Proceedings of SPIE (September 27 2016)
Low cost real time hardware in the loop FCS performance...
Proceedings of SPIE (August 01 1991)
Ambient clumsiness in virtual environments
Proceedings of SPIE (January 27 2010)
ABLSim: a user-friendly wave optics propagation code
Proceedings of SPIE (August 03 1999)

Back to Top