Lumopt
Python based continuous adjoint optimization wrapper for Lumerical
Install / Use
/learn @chriskeraly/LumoptREADME
Continuous adjoint optimization wrapper for Lumerical
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 Python 3 and 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
Related Skills
node-connect
336.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
336.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.0kCommit, push, and open a PR
