myogen.simulator.IntramuscularElectrodeArray.trajectory_transforms#

property IntramuscularElectrodeArray.trajectory_transforms: ndarray#

Transformation matrices for trajectory movement.

Returns:

Array of shape (n_nodes, 6) containing translation and rotation parameters for each trajectory node. First 3 columns are translations (x, y, z), last 3 columns are rotations (roll, pitch, yaw).

Return type:

numpy.ndarray

Raises:

AttributeError – If trajectory has not been set. Run set_linear_trajectory() first.