Skip to main content

STAR Performance Analysis Add-on - Python API & User Extension

  • January 19, 2026
  • 3 replies
  • 116 views

Flurin Herren
Fully Spectral
Forum|alt.badge.img+3

This is the User Extension and the Python API Standalone script for the STAR Performance Analysis Add-on. Allowing the user to extend the capabilities of the native Performance Analysis to any Merit Function operand and the Merit Function value itself.

Short description – The script launches an interface in which the user can choose some pre-defined metric or define their own metric. All metrics are based on a given Merit Function Operand and all parameters which do apply to the chosen operand type must be set accordingly to get a valuable result:

Disclaimer: There only has been limited testing on both script and extension. Please do check the results thoroughly. For the API script, Python 1.12 and 1.13 have been tested. See here the Help File Page of the native Performance Analysis

See attachment for download
Date Version OpticStudio Version Comment
2026/01/19 1.0 - Creation

3 replies

Flurin Herren
Fully Spectral
Forum|alt.badge.img+3
  • Author
  • Fully Spectral
  • January 19, 2026

For more information about how to generate and compile a User Extension, please see the following article: https://optics.ansys.com/hc/en-us/articles/42661851527955-Generate-the-executable-in-Python-for-ZOS-API-User-Extensions

 


Forum|alt.badge.img
  • Fully Spectral
  • January 19, 2026

Hello ​@Flurin Herren : The images are blurry. Could you please post high resolution images of the same?


Flurin Herren
Fully Spectral
Forum|alt.badge.img+3
  • Author
  • Fully Spectral
  • January 20, 2026

Thanks for the feedback, ​@Asuku. I have just re-uploaded the images with higher resolution.