vitabel.analysis.cpr.compressions¶
Analysis of chest compressions: periods of continuous chest compressions (from single compression events or from the accelerometer signal of CPR feedback sensors), and the chest compression fraction.
Attributes¶
Functions¶
Determine periods of continuous chest compressions based on single |
|
Detect periods of continuous chest compressions from the accelerometer |
|
|
Module Contents¶
- vitabel.analysis.cpr.compressions.logger¶
- vitabel.analysis.cpr.compressions.cc_periods_from_compressions(cc_events_channel: vitabel.timeseries.Channel) vitabel.timeseries.IntervalLabel¶
Determine periods of continuous chest compressions based on single chest compression events.
- Parameters:
- cc_events_channel
The channel containing single chest compression events, such that every time point in the time index represents a chest compression.
- Returns:
- An (unattached) interval label
cc_periods.
- An (unattached) interval label
- vitabel.analysis.cpr.compressions.cc_periods_from_acceleration(accelerometer_channel: vitabel.timeseries.Channel) vitabel.timeseries.IntervalLabel¶
Detect periods of continuous chest compressions from the accelerometer signal of a CPR feedback sensor.
Uses the root mean square of the accelerometer signal to detect the rise in “power” of the signal caused by continuous chest compressions, as described in [OKA+22] and [KOA+22].
- Parameters:
- accelerometer_channel
The channel containing the accelerometer signal.
- Returns:
- An (unattached) interval label
cc_periods; every interval is a - single period of chest compressions.
- An (unattached) interval label
- vitabel.analysis.cpr.compressions.convert_two_alternating_list(df)¶
- vitabel.analysis.cpr.compressions.CCF_minute(t_start, t_stop, CC_starts, CC_stops)¶