tidy3d.EMESimulation.compute_interface_smatrix#
- EMESimulation.compute_interface_smatrix(left_overlap, right_overlap, interface_overlap, sweep_index=0)[source]#
Compute interface S-matrix for one interface at one sweep point.
See
propagate()for the one-shot alternative.- Parameters:
left_overlap (
EMEStageCellOverlap) – Cell overlaps for the two cells forming this interface, matching a pair fromcell_index_pairs.right_overlap (
EMEStageCellOverlap) – Cell overlaps for the two cells forming this interface, matching a pair fromcell_index_pairs.interface_overlap (
EMEStageInterfaceOverlap)sweep_index (int) – Index into the sweep (
0tosweep_spec.num_sweep - 1). Ignored when nosweep_specis set.
- Return type: