Scripting API

btkGetForces

Module BTKPointAccessor

Description#

Extracts forces from a given biomechanical acquisition.

Parameters#

hHandle pointing to a C++ btk::Acquisition object.

Returned Values#

forcesstructure with the forces' values. Each fieldname corresponds to a force's label (see note #1).
forcesInfostructure with the informations related to the forces.
  • forcesInfo.frequency: Point's frequency
  • forcesInfo.units: structure with a single field labeled ALLFORCES with the unit (string) of the forces.

Detailed Description#

Notes#

Note #1: Check the page structureFieldnameFormat to understand how the fieldnames are formated.

See also#

Syntax#

[forces, forcesInfo] = btkGetForces(h)

Examples#