Skip to content

Commit

Permalink
'Refactored by Sourcery'
Browse files Browse the repository at this point in the history
  • Loading branch information
Sourcery AI committed Mar 3, 2023
1 parent 057efdd commit e529305
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 e529305

Please sign in to comment.