Note
Go to the end to download the full example code.
Loading and plotting a single fiber structure#
from FiberFusing.fiber import FiberLoader
fiber_loader = FiberLoader()
fiber = fiber_loader.load_fiber('SMF28', clad_refractive_index=1.444, position=(0, 0))
fiber.plot()

<Figure size 800x500 with 1 Axes>
fiber = fiber_loader.load_fiber('DCF1300S_42', clad_refractive_index=1.444, position=(0, 0))
fiber.plot()

<Figure size 800x500 with 1 Axes>
Total running time of the script: (0 minutes 0.371 seconds)