Skip to content

Commit

Permalink
Merge pull request #204 from gdsfactory/sourcery/121
Browse files Browse the repository at this point in the history
use jupyterbook for docs (Sourcery refactored)
  • Loading branch information
joamatab authored Mar 3, 2023
2 parents 057efdd + e529305 commit dcbe132
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/notebooks/14_sax_tidy3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,12 +327,11 @@ def phase_shifter_heater(
phase = 2 * jnp.pi * neff * length / wl + deltaphi
amplitude = jnp.asarray(10 ** (-loss * length / 20), dtype=complex)
transmission = amplitude * jnp.exp(1j * phase)
sdict = sax.reciprocal(
return sax.reciprocal(
{
("o1", "o2"): transmission,
}
)
return sdict


models = {
Expand Down

0 comments on commit dcbe132

Please sign in to comment.