myogen.simulator.ForceModel.twitch_mat#

property ForceModel.twitch_mat: ndarray#

Complete twitch matrix for all motor units.

Returns:

Matrix of shape (max_twitch_length, n_motor_units) containing the twitch responses for each motor unit.

Return type:

numpy.ndarray

Raises:

ValueError – If twitches have not been initialized yet.