Effect of translation#

from FiberFusing.profile import Profile, StructureType

profile = Profile()

profile.add_structure(
    structure_type=StructureType.LINEAR,
    number_of_fibers=3,
    fusion_degree=0.3,
    fiber_radius=62.5e-6
)

profile.plot(show_cores=True, show_centers=True)
structure shift
<Figure size 800x500 with 1 Axes>
shift = (0, 0)
profile = profile.translate(shift)
profile.plot()
structure shift
<Figure size 800x500 with 1 Axes>
shift = (20e-6, 0)
profile = profile.translate(shift)
profile.plot()
structure shift
<Figure size 800x500 with 1 Axes>

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

Gallery generated by Sphinx-Gallery