Effect of core randomization#

from FiberFusing.profile import Profile, StructureType

profile = Profile()

profile.add_structure(
    structure_type=StructureType.LINEAR,
    number_of_fibers=2,
    fusion_degree=0.3,
    fiber_radius=62.5e-6
)
INFO:root:Created connection between fibers at Point(position=(-5.1516504294495424e-05, 4.558190329562452e-21), instance=None, index=None) and Point(position=(5.151650429449557e-05, -7.67017328574664e-21), instance=None, index=None)
INFO:root:Computing the optimal structure geometry
INFO:root:Configured connection: shift=0.039, topology=concave
INFO:root:Configured connection: shift=0.064, topology=concave
INFO:root:Configured connection: shift=0.024, topology=concave
INFO:root:Configured connection: shift=0.015, topology=concave
INFO:root:Configured connection: shift=0.009, topology=concave
INFO:root:Configured connection: shift=0.006, topology=concave
INFO:root:Configured connection: shift=0.004, topology=concave
INFO:root:Configured connection: shift=0.002, topology=concave
INFO:root:Configured connection: shift=0.001, topology=concave
INFO:root:Configured connection: shift=0.001, topology=concave
INFO:root:Configured connection: shift=0.001, topology=concave
INFO:root:Configured connection: shift=0.000, topology=concave
INFO:root:Configured connection: shift=0.000, topology=concave
INFO:root:Configured connection: shift=0.000, topology=concave
INFO:root:Configured connection: shift=0.000, topology=concave
INFO:root:Configured connection: shift=0.000, topology=concave
INFO:root:Configured connection: shift=0.000, topology=concave
INFO:root:Configured connection: shift=0.000, topology=concave
INFO:root:Configured connection: shift=0.000, topology=concave
INFO:root:Configured connection: shift=0.000, topology=concave
INFO:root:Configured connection: shift=0.000, topology=concave
INFO:root:Configured connection: shift=0.000, topology=concave
INFO:root:Configured connection: shift=0.000, topology=concave
INFO:root:Configured connection: shift=0.000, topology=concave
INFO:root:Configured connection: shift=0.000, topology=concave
INFO:root:Configured connection: shift=0.000, topology=concave
INFO:root:Configured connection: shift=0.000, topology=concave
INFO:root:Configured connection: shift=0.000, topology=concave
INFO:root:Configured connection: shift=0.000, topology=concave
INFO:root:Configured connection: shift=0.000, topology=concave
INFO:root:Configured connection: shift=0.000, topology=concave
INFO:root:Configured connection: shift=0.000, topology=concave
INFO:root:Configured connection: shift=0.000, topology=concave
INFO:root:Configured connection: shift=0.000, topology=concave
INFO:root:Configured connection: shift=0.000, topology=concave
INFO:root:Configured connection: shift=0.000, topology=concave
INFO:root:Configured connection: shift=0.000, topology=concave
INFO:root:Configured connection: shift=0.000, topology=concave
INFO:root:Configured connection: shift=0.000, topology=concave
INFO:root:Computing the optimal core positions
INFO:root:Starting core position optimization...
INFO:root:Optimization successful: cost=9.11e-17

<FiberFusing.profile.Profile object at 0x7f67afb60d50>
factor = 0
profile.randomize_core_positions(random_factor=factor)
profile.plot(show_centers=True, show_cores=True)
randomize core
<Figure size 800x500 with 1 Axes>
factor = 10e-6
profile.randomize_core_positions(random_factor=factor)
profile.plot(show_centers=True, show_cores=True)
randomize core
INFO:root:Randomizing core positions.

<Figure size 800x500 with 1 Axes>
factor = 10e-6
profile.randomize_core_positions(random_factor=factor)
profile.plot(show_centers=True, show_cores=True)
randomize core
INFO:root:Randomizing core positions.

<Figure size 800x500 with 1 Axes>

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

Gallery generated by Sphinx-Gallery