Scripting API

btkGetForcePlatforms

Module BTKAnalogAccessor

Description#

Extracts force platforms' informations from the given biomechanical acquisition.

Parameters#

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

Returned Values#

forceplatesPaged dictionnary with the following fields:
  • forceplates[i]["channels"]: dictionnary with fields's name corresponding to the analog channel used.
  • forceplates[i]["corners"]: Numpy matrix (3,4) of reals with the 3D coordinates of the four corners of the force platform expressed in the global frame.
  • forceplates[i]["origin"]: Numpy matrix (3,1) of reals with the 3D coordinates of the origin the force platform expressed in the global frame.
  • forceplates[i]["type"]: Integer indicating the force platform's type. For more information on this type, see the C3D documentation (www.c3d.org).
forceplatesInfoPaged dictionnary with the following fields:
  • forceplates[i]["frequency"]: Real with the force platform's channel' frequency.
  • forceplates[i]["units"]: dictionnary where each field's name is a label of one analog channel and gives its unit as a string.
  • forceplates[i]["cal_matrix"]: Numpy matrix of reals used to correct the cross talk between channels This numpy matrix is only used with some supported force platform type.

Detailed Description#

Notes#

See also#

Syntax#

(forceplates, forceplatesInfo) = btkGetForcePlatforms(h)

Examples#