Examples for photonic design problems using various open-source tools.
You can install this by cloning the repository and doing a pip install .
.
Note that this installs only the most basic dependencies (such NumPy) that are used for pretty much everything.
Other dependencies, such as electromagnetic simulation tools, depend entirely on the examples that you want to run, so the recommended approach right now is to create an isolated environment (using e.g. conda or pyenv) and then install whatever packages are needed yourself for the examples you want to try.
Maybe there will be a more convenient way to do this in the future.
This project is intended as a resource for myself and for people wanting to get into (inverse) design in photonics. I can make no guarantees on correctness or best practices for any of the examples contained herein (I do my best, though). When in doubt, always refer to the official documentation and examples of the tools that are used.