Skip to main content
Ctrl+K

pyMMF v0.7

  • pyMMF
  • Examples
  • API Reference
  • Release notes
  • GitHub
  • X
  • wavefrontshaping.net
  • pyMMF
  • Examples
  • API Reference
  • Release notes
  • GitHub
  • X
  • wavefrontshaping.net
  • Examples

Examples#

Example 1: Solving the modes of a GRIN index fiber using the `radial` solver.

  • Graded index fiber using the radial solver
    • 1. Fiber parameters
    • 2. Compute the mode with radial solver
    • 3. Results
    • 4. Save the data

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.

  • Straight step index fibers
    • 1. Fiber parameters
    • 2. Compute the mode with three different solvers
    • 3. Comparing results

Example 3: Solving the modes of a square-core fiber using the `eig2D` solver.

  • Square fiber using the 2D Eigen-problem solver
    • 1. Fiber parameters
    • 2. Create index profile
    • 3. Using the radial solver
    • 4. Results

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

previous

pyMMF

next

Graded index fiber using the radial solver

This Page

  • Show Source

© Copyright 2024, Sebastien M. Popoff and Pavel Gostev.

Created using Sphinx 8.0.2.

Built with the PyData Sphinx Theme 0.16.1.