01
Define
Bring your GDS and a layer stack. No meshing, no setup files.
01 / AI FOR PHOTONICS
Predict photonic circuits with AI.
Get fields and the full S-matrix.
Explore ideas at the speed you think.
Free during alpha. No credit card.
15 µm
Y-branch example with three ports
3×3
Full complex S-matrix at each wavelength
.s3p
Touchstone export plus saved field arrays
01
Bring your GDS and a layer stack. No meshing, no setup files.
02
Complex fields, the full S-matrix, and neff.
03
Cut anywhere. Watch one mode split into two, then export Touchstone for your compact models.
02 / API
Install the package, get a key, and try a layout that is ready to run.
Follow the Get started tutorial →
# Terminal: python -m pip install --upgrade bamsolve
from getpass import getpass
from bamsolve import Layer, Stack, bamsolve, pred
bamsolve(api_key=getpass("API key: "))
stack = Stack(clad=1.444, layers={
(1, 0): Layer(n=3.48, z=(0.0, 0.22)),
})
dev = stack("ebeam_y_1550.gds")
res = pred(dev, inputs={((1, 10), "TE", 1.55)})
res.export_s("ebeam_y_1550.s3p")
Free for everyone during the public alpha. Copy the key shown below, then paste it into the starter script’s hidden prompt.