crossing¶
- photonforge.abstract.crossing(*, t=1.0, x=0.0, r=0.0, propagation_length=0.0, n_eff=2.4, n_group=None, reference_frequency=C_0 / 1.55)[source]¶
Abstract waveguide crossing.
Based on
photonforge.CrossingModel. Four-port, single-mode crossing with straight-through, cross, and reflection amplitudes.- Parameters:
t (complex) – Complex straight-through transmission amplitude.
x (complex) – Complex cross-port transmission amplitude.
r (complex) – Complex reflection amplitude.
propagation_length (Annotated[float, minimum=0, units='μm']) – Extra optical length used for phase accumulation.
n_eff (complex) – Effective index for phase. The imaginary part may encode attenuation.
n_group (float | None) – Group index for first-order dispersion. If
None, the value ofn_effis used.reference_frequency (Annotated[float, minimum=0, units='Hz']) – Reference frequency for dispersion.
- Return type: