pedarProbe.parse#

Loading and parsing pedar plantar pressure data and construct a data node tree for further analysis.

Example

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,
)

Classes

Pedar_asc(path[, skiprows, header, index_col])

Reader for .asc file exported from pedar.

Inheritance diagram of pedarProbe.parse

Inheritance Relationship#

Functions

add_trail(node, asc, folder, condition, ...)

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

progress_bar(percent[, bar_len])

Print & refresh the progress bar in terminal.

trails_parse(path, condition_list[, ...])

Load and parse pedar plantar pressure data and return the constructed node tree according to the guiding sheet.