fastpli.model.sandbox.build.bundle

bundle(traj, seeds, radii, scale=1)[source]

Generates a fiber bundle along a trajectory. The fibers will be generated coresponding to their seed points. They can be scaled along the trajectory.

Parameters
  • traj ((n,3)-array_like) – fiber_bundle trajectory

  • seeds ((m,2)-array_like) – fiber seed points on a 2d plane

  • radii (float or (m,)-array_like) – fiber seeds constant or individual radii

  • scale ((n,)-array_like, optional) – scale seeds along traj

Returns

res – list of fibers with (x,y,z,r)-coordinates

Return type

FiberBundle