Skip to main content
Ctrl+K

ZOSPy documentation

  • User guide
  • Examples
  • Contributing to ZOSPy
  • API
  • About ZOSPy
  • GitHub
  • PyPI
  • MReye.nl
  • User guide
  • Examples
  • Contributing to ZOSPy
  • API
  • About ZOSPy
  • GitHub
  • PyPI
  • MReye.nl

Section Navigation

Getting started

  • Installation
  • Simple example
  • Frequently Asked Questions
  • Compatibility

Using ZOSPy

  • Connecting to OpticStudio
  • Creating an optical system
  • Performing analyses
  • Using ZOS-API constants
  • Convenience functions

Advanced usage

  • Logging
  • Custom object conversion between the ZOS-API and ZOSPy
  • User guide

User guide#

Getting started

  • Installation
    • Using ZOSPy in a separate environment
  • Simple example
  • Frequently Asked Questions
    • How do I disconnect from OpticStudio?
    • How do I reconnect to OpticStudio?
    • Why do I get a ValueError: Cannot have more than one active ZOS instance?
  • Compatibility
    • OpticStudio 25.1.1
    • OpticStudio 24.2.2
    • OpticStudio 24.1.3
    • OpticStudio 24.1.0

Using ZOSPy

  • Connecting to OpticStudio
    • Connecting in standalone mode
    • Connecting in extension mode
    • Connecting to a specific version of OpticStudio
    • Difference between ZOS and OpticStudioSystem
    • Reconnecting to OpticStudio
  • Creating an optical system
    • Example
    • Using solvers
    • Contributing solvers
  • Performing analyses
    • Analysis wrapper structure
    • Examples
    • Accessing OpticStudio analyses directly
  • Using ZOS-API constants
  • Convenience functions
    • Example

Advanced usage

  • Logging
  • Custom object conversion between the ZOS-API and ZOSPy
    • OpticStudioInterfaceEncoder

previous

Welcome to ZOSPy’s documentation!

next

Installation

© Copyright 2023-2026, Jan-Willem M. Beenakker, Luc van Vught, Corné Haasjes.

Created using Sphinx 8.1.3.

Built with the PyData Sphinx Theme 0.19.0.