pythonoptics / lumopt

Python based continuous adjoint optimization wrapper for Lumerical

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Continuous adjoint optimization wrapper for Lumerical

requirements

Lumeridcal 2019

Introduction

This is a continuous adjoint opimtization wrapper for Lumerical, using Python as the main user interface. It is released under an MIT license. It is still work in progress and any contribution will be very welcome! New features to come out soon, and make it even easier to use (hopefully)!

If you use this tool in any published work, please cite https://www.osapublishing.org/oe/abstract.cfm?uri=oe-21-18-21693 and give a link to this repo. Thanks!

Tutorials, Examples, and Documentation

It is all here: https://lumopt.readthedocs.io/en/latest/

Install

Make sure you have the latest version of Lumerical installed (it won't work correctly with older versions), and that lumapi (the python api) works

cd your/install/folder/
git clone https://github.com/chriskeraly/LumOpt.git
python setup.py develop

I would strongly recommend using jupyter notebooks to run optimizations.

First optimization

If you are not using jupyter notebooks:

cd your/install/folder/examples/Ysplitter
python splitter_opt_2D.py

Otherwise copy your/install/folder/examples/Ysplitter/splitter_opt_2D.py into a notebook

About

Python based continuous adjoint optimization wrapper for Lumerical

License:MIT License


Languages

Language:Python 100.0%