Matlab-CodeV toolkit: software enabling rapid transfer of optical modeling data into the Matlab environment for custom performance analyses, integrated modeling, wavefront sensing and control operations, and systems modeling.
Matlab – CodeV Toolkit Goals
The Matlab-CodeV toolkit is a set of Matlab scripts and functions which enable rapid transfer of optical system and performance data into the Matlab environment from CodeV optical software. Typical applications are extracting prescription data into Matlab to confirm consistency of various delivered models, perturbing the models and performing various analyses such as ray tracing or generation of point spread functions in support of integrated modeling activities (i.e. thermal and structural stability predictions), and enabling a Matlab driven optical model for integrated system-level modeling of wavefront sensing and control.
Purpose is to support modeling and analysis of perturbed and/or active optical systems in CodeV, from a Matlab based environment.
- The Matlab - CodeV toolkit consists of multiple Matlab "m" files, which either command or query information from CodeV using the Microsoft COM (component object module) interface of the Windows operating system.
- TThe toolkit establishes the link, and allows the user to operate CodeV from Matlab either by real-time command line entry, or through scripted macros.
- TSimilar toolkits have been established by the principle author for OSLO and Zemax optical design software.
This toolkit has similar function names as the Matlab-OSLO and Matlab-Zemax toolkits, written for other optical design software packages. The long term intention is to make lens file conversion from CodeV to OSLO and/or Zemax as part of the toolkit.
I hope the user finds the features simple and intuitive. This Matlab-CodeV Toolkit has had a regular user base at NASA, and many of the obvious problems have been vetted out. The similarity between this and the other toolkits makes a simple and common user interface and intuitive function naming from Matlab to optical models in each of three software environments.