Examples#
Example 1: Solving the modes of a GRIN index fiber using the `radial` solver.
Example 2: Solving the modes of a step index fiber and comparing the results of the `radial` solver to the semi-analytical (`SI` solver) solution of the wave equation.
Example 3: Solving the modes of a square-core fiber using the `eig2D` solver.
Example 4: Comparing the results from the different solvers with the results from FDTD simulations for a graded index fiber.
- pyMMF vs FDTD simulations (Comsol) for GRIN
- 1. Parameters of the fiber
- 2. Compute transverse modes using pyMMF’s axisymmetric solver
- 3. Compute transverse modes using pyMMF’s 2D finite difference eigenvalue solver
- 4. WKB approximation
- propagation constants under WKB approximation
- 5. Load Comsol data
- 6. Compare propagation constants
- 7. Projection of one basis onto the other one