Skip to content

alexsludds/photonflux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Photonflux 0.2.3

PyPI PyPI Python issues forks GitHub stars Downloads Downloads Downloads MIT

Photonflux is a photonic circuit simulation tool for simple, extensible simulation of large active photonic systems.

It solves the problem that existing simulation tools are unable to capture many important phenomena that are key to creating working products including:

  • Complex active component models
  • Component variation and Monte-Carlo simulation
  • Thermal crosstalk between components
  • Fabry-Perot reflections from on-chip components

Here, we build a circuit simulator on NetworkX, a complex network solver, to enable arbitrarily reconfigurable circuit models and systems. As opposed to other approaches, circuits / schematics are defined using a netlist generated from a layout. The primary reason for this is that photon designers typically do not use a idea -> schematic -> layout -> fabrication flow, but often skip the schematic step entirely (idea -> layout -> fabrication). The reason for this is that layouts in photonics are expressive and contain far more detail about the operation of systems than a schematic would capture.

Layouts for simulation in photonflux are defined in a yaml markup format that can be automatically generated using gdsfactory.

To see examples of what is possible in photonflux please see our examples.

For more information on the future of the package see our roadmap.

Installation

Installation for new photonflux users

python -m pip install photonflux --upgrade

Installation for developers

First install the package from github using:

git clone https://github.com/alexsludds/photonflux.git

Then, navigate to the download directory and install as an editable python package

python -m pip install -e .

Getting started

We include several examples in the examples folder, but if your usecase is not there please create an github issue and we can work together on it.

Acks

Contributors (in chronological order):

  • Alex Sludds (MIT): Initial code and documentation.

About

Photonic circuit network simulator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published