pedarProbe.parse.trails_parse#
- pedarProbe.parse.trails_parse(path: Union[None, str], condition_list: list, max_read_rate: float = 1.0)[source]#
Load and parse pedar plantar pressure data and return the constructed node tree according to the guiding sheet.
- Parameters:
path – the path of the guiding sheet.
condition_list –
a list of condition names.
Warning
It will be used for format checking for the entries in the guiding sheet.
max_read_rate –
max_read_rateis the percentage from 0 ~ 1. Only loadmax_read_rateof entries.Tip
Data loading is very time consuming. When developing new features, it may speed up the verification and debug by setting a low
max_read_rate.from pedarProbe import parse condition_list = ['fast walking', 'slow walking', 'normal walking'] data = parse.trails_parse( "data/subjects/walking plantar pressure time slot.xlsx", # the guiding sheet's path condition_list, # condition list will be used for format checking max_read_rate=0.1,