.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "gallery/extra/loading_fiber.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_extra_loading_fiber.py: Loading and plotting a single fiber structure ============================================= .. GENERATED FROM PYTHON SOURCE LINES 5-14 .. code-block:: Python from FiberFusing.fiber import FiberLoader fiber_loader = FiberLoader() fiber = fiber_loader.load_fiber('SMF28', clad_refractive_index=1.444, position=(0, 0)) fiber.plot() .. image-sg:: /gallery/extra/images/sphx_glr_loading_fiber_001.png :alt: loading fiber :srcset: /gallery/extra/images/sphx_glr_loading_fiber_001.png :class: sphx-glr-single-img .. rst-class:: sphx-glr-script-out .. code-block:: none
.. GENERATED FROM PYTHON SOURCE LINES 15-19 .. code-block:: Python fiber = fiber_loader.load_fiber('DCF1300S_42', clad_refractive_index=1.444, position=(0, 0)) fiber.plot() .. image-sg:: /gallery/extra/images/sphx_glr_loading_fiber_002.png :alt: loading fiber :srcset: /gallery/extra/images/sphx_glr_loading_fiber_002.png :class: sphx-glr-single-img .. rst-class:: sphx-glr-script-out .. code-block:: none
.. rst-class:: sphx-glr-timing **Total running time of the script:** (0 minutes 0.371 seconds) .. _sphx_glr_download_gallery_extra_loading_fiber.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: loading_fiber.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: loading_fiber.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: loading_fiber.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_