myogen.simulator.Muscle.assignment#

property Muscle.assignment: ndarray#

Motor unit assignment for each muscle fiber.

Returns:

Array where each element indicates the motor unit index (0 to n_motor_units-1) assigned to that fiber.

Return type:

numpy.ndarray

Raises:

ValueError – If muscle fiber assignment has not been completed yet.