Skip to content

03. Using PyZDDE in Jupyter: A Gallery of notebooks

Indranil Sinharoy edited this page Apr 18, 2017 · 8 revisions

Using PyZDDE within Jupyter Notebook

The Jupyter (previously IPython) notebook is a great tool for numerical computing, exploratory analysis. It is a computational notebook for documenting thoughts and research processes, knowledge sharing and teaching.

This page showcases examples of using PyZDDE with Zemax within Jupyter. Please note that these notebooks are not "finished work" -- they are intended to evolve and improve over time (based on my own improvement in understanding of different topics, corrections, suggestions, and criticisms, which are most welcome.

Basic, general examples

1. Using ZEMAX and PyZDDE with IPython notebook -- introduces basic capabilities of PyZDDE.
2. Notes on ipzCaptureWindow() and ipzCaptureWindowLQ() functions for embedding Zemax graphics into notebooks -- shows how to use the two functions to directly import graphics windows from Zemax into the notebook.
3. Acquisition and analysis of Image Simulation data from Zemax -- demonstrates how to use the Image Simulation feature of Zemax using PyZDDE.

Application showcases

1. Simple fiber coupling analysis using Zemax's POP -- demonstrates how to access Zemax's POP analysis features using PyZDDE.
2. Speckle generation using Zemax's Grid Sag Surface -- demonstrates the use of Grid Sag surface & POP analysis to simulate speckle. Further, the first & second order characteristics of the speckle field are analyzed.