/gdslib

library for storing gdsfactory sparameters and models

Primary LanguagePythonMIT LicenseMIT

gdslib 0.3.4

Frequency domain Circuit simulations for Photonic components based on Sparameters.

Gdslib extends simphony and SIPANN to create Sparameter models for the generic technology library for gdsfactory

You can leverage:

  • Compact models for photonic components from FDTD simulations
  • Compact models from Neural networks thanks to SiPANN package
  • Circits simulations thanks to simphony which provides a linear circuit solver for Sparameters. It allows you to compute frequency response of a circuit made of different components connected together.

Usage

See docs/notebooks tutorials

Tests

make test runs 2 types of tests with pytest:

  • testing functions
  • pytest-regressions over the Sparameters for components and circuits

Installation

You can install install the latest released version.

pip install gdslib

Or you can install the development version if you plan to contribute.

git clone https://github.com/gdsfactory/gdslib.git
cd gdslib
make install