Skip to main content
Ctrl+K
Logo image

PyFiberModes

Site Navigation

  • Source Code
  • Coding examples
  • GitHub
  • PyPI
  • Anaconda

Site Navigation

  • Source Code
  • Coding examples
  • GitHub
  • PyPI
  • Anaconda

Section Navigation

  • Examples: API
    • Figure 3.13 of Jacques Bures
    • Comparing two and three layers
    • Dispersion VS core index
    • Effective index VS core index
    • Groupe index VS core index
    • Dispersion VS core index
    • Mode fields
    • Mode fields
    • Mode fields
    • Effective index for tapered multi-mode fiber
  • Examples single layer fiber
    • Modal dispersion VS core index
    • Modal dispersion VS core index
    • Modal dispersion VS core index
  • Examples: double clad fiber
    • Mode fields
  • Coding examples
  • Examples single layer fiber
  • Modal...

Note

Go to the end to download the full example code

Modal dispersion VS core index#

Imports#

from PyFiberModes import HE11, HE22, LP01, LP11, LP02, LP21, LP12, TE01, LP31, LP22, LP41
from PyFiberModes.fiber import load_fiber

Generating the fiber structures#

Here we create the different fiber design that we want to explore

smf28 = load_fiber(fiber_name='SMF28', wavelength=1310e-9)


smf28.print_data(
    data_type_list=['mode_cutoff_wavelength', 'effective_index', 'dispersion'],
    mode_list=[HE11, LP01, TE01, LP11, LP02, LP21, LP12, HE22, LP31, LP22, LP41]
)


# -
mode_cutoff_wavelength @ wavelength: 1.31e-06:
 -----------------------------------------------
mode = HE11      mode_cutoff_wavelength: inf
mode = LP01      mode_cutoff_wavelength: inf
mode = TE01      mode_cutoff_wavelength: 1.4997130892840177e-06
mode = LP11      mode_cutoff_wavelength: 1.4997130892840177e-06
mode = LP02      mode_cutoff_wavelength: 9.412382876877604e-07
mode = LP21      mode_cutoff_wavelength: 9.412382876877604e-07
mode = LP12      mode_cutoff_wavelength: 6.533509661032724e-07
mode = HE22      mode_cutoff_wavelength: 6.531503532628028e-07
mode = LP31      mode_cutoff_wavelength: 7.022612167231315e-07
mode = LP22      mode_cutoff_wavelength: 5.14076517910921e-07
mode = LP41      mode_cutoff_wavelength: 5.652753684236695e-07



effective_index @ wavelength: 1.31e-06:
 ----------------------------------------
mode = HE11      effective_index: 1.4509073523458274
mode = LP01      effective_index: 1.4509131222977205
mode = TE01      effective_index: 1.447470263696458
mode = LP11      effective_index: 1.447470263696458
mode = LP02      effective_index: nan
mode = LP21      effective_index: nan
mode = LP12      effective_index: nan
mode = HE22      effective_index: nan
mode = LP31      effective_index: nan
mode = LP22      effective_index: nan
mode = LP41      effective_index: nan



dispersion @ wavelength: 1.31e-06:
 -----------------------------------
mode = HE11      dispersion: 1.1399738885603026
mode = LP01      dispersion: -1.0354515265649626
mode = TE01      dispersion: -33.95106566984884
mode = LP11      dispersion: -33.95106566984884
mode = LP02      dispersion: nan
mode = LP21      dispersion: nan
mode = LP12      dispersion: nan
mode = HE22      dispersion: nan
mode = LP31      dispersion: nan
mode = LP22      dispersion: nan
mode = LP41      dispersion: nan

Total running time of the script: (0 minutes 0.051 seconds)

Download Jupyter notebook: plot_smf28.ipynb

Download Python source code: plot_smf28.py

Gallery generated by Sphinx-Gallery

On this page
  • Imports
  • Generating the fiber structures
Show Source

© Copyright 2024, Martin Poinsinet de Sivry-Houle.

Created using Sphinx 7.4.7.

Built with the PyData Sphinx Theme 0.14.1.