Scripting API

btkGetMoments

Module BTKPointAccessor

Description#

Extracts moments from a given biomechanical acquisition.

Parameters#

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

Returned Values#

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

Detailed Description#

Notes#

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

See also#

Syntax#

[moments, momentsInfo] = btkGetMoments(h)

Examples#