.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "gallery/SMF28/plot_smf28.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note :ref:`Go to the end ` to download the full example code .. rst-class:: sphx-glr-example-title .. _sphx_glr_gallery_SMF28_plot_smf28.py: Modal dispersion VS core index ============================== .. GENERATED FROM PYTHON SOURCE LINES 8-10 Imports ~~~~~~~ .. GENERATED FROM PYTHON SOURCE LINES 10-13 .. code-block:: Python from PyFiberModes import HE11, HE22, LP01, LP11, LP02, LP21, LP12, TE01, LP31, LP22, LP41 from PyFiberModes.fiber import load_fiber .. GENERATED FROM PYTHON SOURCE LINES 14-17 Generating the fiber structures ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Here we create the different fiber design that we want to explore .. GENERATED FROM PYTHON SOURCE LINES 17-27 .. code-block:: Python 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] ) # - .. rst-class:: sphx-glr-script-out .. code-block:: none 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 .. rst-class:: sphx-glr-timing **Total running time of the script:** (0 minutes 0.051 seconds) .. _sphx_glr_download_gallery_SMF28_plot_smf28.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: plot_smf28.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: plot_smf28.py ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_