Skip to main content

Zemax OpticStudio ZOS-API 2026 R1

Example 04: Retrieve Data from FFT MTF

Last update: 09.03.2026

Ex 4: A sample file (…\Sequential\Objectives\Cooke 40 degree field.zos) is loaded and a new FFT MTF analysis window is opened. The maximum frequency and sampling is modified. Results are retrieved and the data series are plotted; the OpticStudio FFT MTF plot is recreated.

Input:      Sequential\Objectives\Cooke 40 degree field.zos

Output:     Graph (Matlab, Python)
            API\e04_pull_data_from_FFTMT.txt (C++, C#)

C#

C++

Mathematica

Matlab

Python

Connect with Ansys