Skip to content

03. Using PyZDDE in Jupyter: A Gallery of notebooks

Indranil Sinharoy edited this page Dec 27, 2015 · 8 revisions

Using PyZDDE within Jupyter Notebook

The [Jupyter (previously IPython) notebook] (http://ipython.readthedocs.org/en/stable/) is a great tool for numerical computing, exploratory analysis, documenting thoughts and research processes, knowledge sharing and teaching.

This page showcases some examples of using PyZDDE with Zemax within the notebook environment (more to be added over time). Please note that these notebooks are not "finished works" -- they are intended to evolve and improve over time (based on my own improvement in understanding different topics and your suggestions. All types of suggestions, corrections and criticisms are most welcome.

Basic, general examples

1. [Using ZEMAX and PyZDDE with IPython notebook] (http://nbviewer.ipython.org/github/indranilsinharoy/PyZDDE/blob/master/Examples/IPNotebooks/00%20Using%20ZEMAX%20and%20PyZDDE%20with%20IPython%20notebook.ipynb) -- 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 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.