Universal Python library for standard photonic design, including:
- Basic elements
- Devices
- Chip constructors
To open the library, use Spyder -> Open a project, then select the folder which contains .spyproject file. If you get Could not import *filename* error, adjust your Python path in Python Path Manager tab of Spyder: check that your basic folder LibGDSpy is indicated as a python path.
Please read guidelines and tutorials to operate with the library. You can find tutorial files in Designs/Tutorial folder. Please create your own design in the same Designs folder, creating your design subfolder, for example, Designs/D59.
Feel free to add your own device design codes in the corresponding folder Devices (you might create a separate folder), if no analogs exist. Carefully document your structures and keep the basic logic of the code, such as standard device methods, to facilitate the chip construction. If your desired structure is similar to the already existing one, but requires small changes, extend the class by including new features instead of making a new class.
Developed by Mikhail Churaev, March 2020