setTrajectoryFromArray#

pyCGM2.Nexus.nexusTools.setTrajectoryFromArray(NEXUS, vskName: str, label: str, array: ndarray, firstFrame: int = 0)#

Sets a trajectory in Nexus using data from an array.

Parameters:
  • NEXUS (ViconNexus.ViconNexus) – The Nexus handle.

  • vskName (str) – The name of the VSK file.

  • label (str) – The label of the trajectory.

  • array (np.ndarray) – The data array.

  • firstFrame (int) – The first frame of the trajectory in the acquisition.