Event

eventFilters

The module contains filter for detecting foot contact events.

check out the script : Tests est_events.py for examples

class pyCGM2.Events.eventFilters.EventFilter(procedure, acq)

Event filter to handle an event procedure

detect()

Run the motion filter

eventProcedures

The module contains procedures for detecting foot contact event.

check out the script : Tests est_events.py for examples

class pyCGM2.Events.eventProcedures.ZeniProcedure

Gait Event detection from Zeni et al, 2008

detect(acq)

detect events

Parameters

acq (Btk.Acquisition) – a btk acquisition instance

Returns

frames indicating the left foot strike, the left foot off, the right foot strike and the right foot off respectively

Return type

int,int,int,int

setFootOffOffset(value)

set a systematic offset to each foot off event

Parameters

value (int) – frame offset

setFootStrikeOffset(value)

set a systematic offset to each foot strike event

Parameters

value (int) – frame offset