dispel.providers.bdh.tasks.gait module#

Processing functionality for BDH Gait task.

class dispel.providers.bdh.tasks.gait.BDHGaitSteps[source]#

Bases: ProcessingStepGroup

BDH-specific processing steps for gait.

steps: List[ProcessingStep] = [<dispel.providers.bdh.tasks.gait.TruncateSensors6MWT object>, <dispel.providers.generic.tasks.gait.steps.GaitSteps object>]#
class dispel.providers.bdh.tasks.gait.BDHGaitStepsInclLee[source]#

Bases: ProcessingStepGroup

BDH-specific processing steps for gait including Lee algorithm.

steps: List[ProcessingStep] = [<dispel.providers.bdh.tasks.gait.TruncateSensors6MWT object>, <dispel.providers.generic.tasks.gait.steps.GaitStepsInclLee object>]#
class dispel.providers.bdh.tasks.gait.Truncate6MWTBDH[source]#

Bases: ProcessBDHOnlyMixIn

Truncate BDH 6MWT sensor data to keep the relevant six minutes.

For BDH Format, IMUs are recorded during the entire session of the six minutes walk test, even during the voice instructions. To match ADS Format of the 6MWT and only get IMUs during the relevant period, the data has to be truncated to between the bip of the beginning and 6minutes later.

get_new_data_set_id()[source]#

Overwrite new_data_set_id with current data_set_id.

Return type:

str

static truncate_6min_after_bip(data, level)[source]#

Truncate the data frame to keep six minutes after the bip.

Parameters:
class dispel.providers.bdh.tasks.gait.TruncateSensors6MWT[source]#

Bases: ProcessingStepGroup

Truncate 6MWT sensors.

steps: List[ProcessingStep] = [<dispel.providers.bdh.tasks.gait.Truncate6MWTBDH object>, <dispel.providers.bdh.tasks.gait.Truncate6MWTBDH object>, <dispel.providers.bdh.tasks.gait.Truncate6MWTBDH object>]#