NexusConstructAcquisitionFilter#
- class pyCGM2.Nexus.nexusFilters.NexusConstructAcquisitionFilter(NEXUS, dataPath: str, filenameNoExt: str, subject: str)#
Filter for constructing a btk.Acquisition from Nexus API.
- Parameters:
dataPath (str) – Data folder path.
filenameNoExt (str) – Filename without its extension.
subject (str) – Subject name (equivalent to VSK name).
- __init__(NEXUS, dataPath: str, filenameNoExt: str, subject: str)#
Initializes the NexusConstructAcquisitionFilter class.
Methods
__init__
(NEXUS, dataPath, filenameNoExt, subject)Initializes the NexusConstructAcquisitionFilter class.
Appends analogs to the acquisition object.
Appends events to the acquisition object.
Appends force plates to the acquisition object.
Appends markers to the acquisition object.
Appends model output data to the acquisition object.
build
()Builds the acquisition object with appended data.
exportC3d
([filenameNoExt])Exports the built acquisition to a C3D file.
Initializes metadata with an ANALYSIS section in the acquisition object.
- appendAnalogs()#
Appends analogs to the acquisition object.
- appendEvents()#
Appends events to the acquisition object.
- appendForcePlates()#
Appends force plates to the acquisition object.
- appendMarkers()#
Appends markers to the acquisition object.
- appendModelOutputs()#
Appends model output data to the acquisition object.
- build()#
Builds the acquisition object with appended data. :Returns: btk.btkAcquisition – The built BTK acquisition object.
- exportC3d(filenameNoExt: str | None = None)#
Exports the built acquisition to a C3D file. :param filenameNoExt: Specific filename without its extension. :type filenameNoExt: Optional[str], optional
- initMetaData()#
Initializes metadata with an ANALYSIS section in the acquisition object.