appendBones#

pyCGM2.Nexus.nexusTools.appendBones(NEXUS, vskName: str, acq: btkAcquisition, label: str, segment: str, OriginValues: ndarray | None = None, manualScale: ndarray | None = None, suffix: str = '', existFromPoint: str | None = None)#

Appends a Vicon bone from a BTK acquisition.

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

  • vskName (str) – The VSK file name.

  • acq (btk.btkAcquisition) – The BTK acquisition instance.

  • label (str) – The bone label.

  • segment (str) – The segment to append.

  • OriginValues (Optional[np.ndarray]) – Manual assignment of the bone origin.

  • manualScale (Optional[np.ndarray]) – Manual scale values.

  • suffix (str) – Suffix added to bone outputs.

  • existFromPoint (Optional[str]) – BTK point label conditioning the presence or absence of the bone.