[ascl:2404.001]
cbeam: Coupled-mode propagator for slowly-varying waveguides
cbeam models the propagation of guided light through slowly-varying few-mode waveguides using the coupled-mode theory (CMT). When compared with more general numerical methods for waveguide simulation, such as the finite-differences beam propagation method (FD-BPM), numerical implementations of the CMT can be much more computationally efficient. Written in Python and Julia, the package provides a Pythonic class structure to define waveguides, with simple classes for directional couplers and photonic lanterns already provided. cbeam also doubles as a finite-element eigenmode solver.
- Code site:
-
https://github.com/jw-lin/cbeam
- Bibcode:
- 2024ascl.soft04001L