pysted.temporal.Fiber
- class pysted.temporal.Fiber(coords=None, random_params={}, parent=None, seed=None)
A
Fiber
is a set of nodes that are connected but not closedFiber.add_node
(node[, pos])Methods that implements adding a node to the current nodes.
Fiber.apply_force
([mean, std, field])This method allows to apply a
force
on each nodesFiber.apply_jitter
([mean, std])This method allows to jitter the position of each nodes.
Fiber.generate_random
([num_points, angle, ...])Generates a random set of points.
Fiber.grow
([prob, angle, scale])This methods implements the growth of a
Fiber
Reset the current
force
that is being applied on all nodesReset the current
speed
that is being applied on all nodesFiber.return_shape
([shape])Return
Fiber
indices.Fiber.spawn
([num])Method that implements spawn of synapses
Updates the position of each node based on the current forces and speeds