.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "gallery/clad/plot_ring_2.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_clad_plot_ring_2.py: 2x2 Ring - Clad =============== .. GENERATED FROM PYTHON SOURCE LINES 7-23 .. image-sg:: /gallery/clad/images/sphx_glr_plot_ring_2_001.png :alt: Fiber structure :srcset: /gallery/clad/images/sphx_glr_plot_ring_2_001.png :class: sphx-glr-single-img .. rst-class:: sphx-glr-script-out .. code-block:: none /opt/hostedtoolcache/Python/3.11.11/x64/lib/python3.11/site-packages/PyOptik/material/base_class.py:60: UserWarning: Wavelength range goes from 15.5 µm to 15.5 µm which is outside the allowable range of 209.99999999999997 nm to 6.7 µm µm. [Material: fused_silica] warnings.warn( | .. code-block:: Python from FiberFusing.configuration.ring import FusedProfile_02x02 as FusedProfile from PyOptik import MaterialBank material = MaterialBank.fused_silica wavelength = 15.5e-6 clad = FusedProfile( fiber_radius=62.5e-6, fusion_degree=0.3, index=material.compute_refractive_index(wavelength), ) clad.plot() # - .. rst-class:: sphx-glr-timing **Total running time of the script:** (0 minutes 1.646 seconds) .. _sphx_glr_download_gallery_clad_plot_ring_2.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: plot_ring_2.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: plot_ring_2.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: plot_ring_2.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_