smartAppendParamAnalysis#

pyCGM2.Tools.btkTools.smartAppendParamAnalysis(acq: btkAcquisition, name: str, eventcontext: str, value: float, description: str = '', subject: str = '', unit: str = '')#

Appends a new analysis parameter to the BTK acquisition.

Parameters:
  • acq (btk.btkAcquisition) – BTK acquisition instance.

  • name (str) – Name of the analysis parameter.

  • eventcontext (str) – Context of the event related to the analysis parameter.

  • value (float) – Value of the analysis parameter.

  • description (str, optional) – Description of the analysis parameter. Defaults to an empty string.

  • subject (str, optional) – Subject associated with the analysis parameter. Defaults to an empty string.

  • unit (str, optional) – Unit of the analysis parameter. Defaults to an empty string.

Returns:

None – The analysis parameter is appended directly to the acquisition object.