Skip to content

qrs_offset

QrsOffset

Bases: FiducialPoint

area_indicator(signals, window_length) staticmethod

Calculate the onset area indicator for ECG envelope.

Parameters:

Name Type Description Default
signals Signals

N ECG envelope signals with lenght M.

required
window_length int

Moving window length.

required

Returns:

Type Description
ndarray

np.ndarray[N, M]: Onset area indicator for envelope with same shape as signals.

index(peaks, area_indicator, window_length) staticmethod

Parameters:

Name Type Description Default
peaks list

List of R peak indexes.

required
area_indicator ndarray

Area indicator array with local maximums at the QRS complex offsets.

required
window_length int

search window length.

required

Returns:

Name Type Description
list list

List of QRS complex offsets.