Scripting API

btkGetMoments

Module BTKPointAccessor

Description#

Extracts moments from a given biomechanical acquisition.

Parameters#

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

Returned Values#

momentsdictionnary with the moments' values. Each fieldname corresponds to an moment's label (see note #1).
momentsInfodictionnary with the informations related to the moments.
  • momentsInfo["frequency"]: Point's frequency
  • momentsInfo["units"]: dictionnary with a single field labeled ALLMOMENTS with the unit (string) of the moments.

Detailed Description#

Notes#

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

See also#

Syntax#

(moments, momentsInfo) = btkGetMoments(h)

Examples#