Scripting API

btkGetPoint

Module BTKAcquisitionAccessor

Description#

Extracts one point from the given acquisition based on an index or a string.

Parameters#

hHandle pointing to a C++ btk::Acquisition object.
idxInteger containing the index of the point to extract.
labelString containing the label of the point to extract.

Returned Values#

valuesNumpy matrix of reals (n,3) with X,Y,Z components.
infodictionnary with some informations related to the extracted point.
  • Info["label"]: True label of the point ;
  • Info["description"]: Description of the point ;
  • Info["frequency"]: Point's frequency ;
  • Info["units"]: Unit associated with the point.

Detailed Description#

Notes#

See also#

btkGetAnalog

Syntax#

(values, info) = btkGetPoint(h, idx)
(values, info) = btkGetPoint(h, label)

Examples#