myoverse.datatypes.VirtualHandKinematics.plot#

VirtualHandKinematics.plot(representation, nr_of_fingers=5, visualize_wrist=True)[source]#

Plots the virtual hand kinematics data.

Parameters:
  • representation (str) – The representation to plot. The representation should be a 2D tensor with shape (9, n_samples) or a 3D tensor with shape (n_chunks, 9, n_samples).

  • nr_of_fingers (int, optional) – The number of fingers to plot. Default is 5.

  • visualize_wrist (bool, optional) – Whether to visualize wrist movements. Default is True.

Raises:

KeyError – If the representation does not exist.