smartAppendPoint#

pyCGM2.Tools.btkTools.smartAppendPoint(acq: btkAcquisition, label: str, values: ndarray, PointType: str = 'Marker', desc: str = '', residuals: ndarray | None = None)#

Appends or updates a point in the acquisition.

Parameters:
  • acq (btk.btkAcquisition) – BTK acquisition instance.

  • label (str) – Label of the point to append or update.

  • values (numpy.ndarray) – Array of point values.

  • PointType (str, optional) – Type of the point (e.g., ‘Marker’, ‘Angle’, ‘Force’). Default is ‘Marker’.

  • desc (str, optional) – Description of the point. Default is an empty string.

  • residuals (numpy.ndarray, optional) – Array of point residual values.