Scripting API

btkGetPowers

Module BTKPointAccessor

Description#

Extracts powers from a given biomechanical acquisition.

Parameters#

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

Returned Values#

powersstructure with the powers' values. Each fieldname corresponds to an power's label (see note #1).
powersInfostructure with the informations related to the powers.
  • powersInfo.frequency: Point's frequency
  • powersInfo.units: structure with a single field labeled ALLPOWERS with the unit (string) of the powers.

Detailed Description#

Notes#

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

See also#

Syntax#

[powers, powersInfo] = btkGetPowers(h)

Examples#