Scripting API

btkGetForces

Module BTKPointAccessor

Description#

Extracts forces from a given biomechanical acquisition.

Parameters#

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

Returned Values#

forcesdictionnary with the forces' values. Each fieldname corresponds to a force's label (see note #1).
forcesInfodictionnary with the informations related to the forces.
  • forcesInfo["frequency"]: Point's frequency
  • forcesInfo["units"]: dictionnary with a single field labeled ALLFORCES with the unit (string) of the forces.

Detailed Description#

Notes#

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

See also#

Syntax#

(forces, forcesInfo) = btkGetForces(h)

Examples#