pedarProbe.parse.add_trail#

pedarProbe.parse.add_trail(node: PedarNode, asc: str, folder: str, condition: str, trail: str, foot: str, stances: list)[source]#

Construct node tree starting from a subject node according to information of an entry in the guiding sheet.

Parameters:
  • node – the subject node.

  • asc – the asc file name.

  • folder – the folder of the asc file.

  • condition – condition name.

  • trail – trail name.

  • foot – foot name.

  • stances – a list of stance timestamp string. Each item of stances is in the form of '<start_time>-<end_time>'.

Note

The same subject’s information in the same condition and trail is separated in different entries.Each of them contains one foot type with specific stances time stamp. Therefore the node tree is not constructed in one go. This function is developed to handle the incremental construction process.