Skip to content

Commit 5d35c5d

Browse files
Apply suggestions from code review
Co-authored-by: Dominique Makowski <[email protected]>
1 parent 6c648d8 commit 5d35c5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

neurokit2/ecg/ecg_delineate.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def ecg_delineate(
4949
sampling_rate : int
5050
The sampling frequency of ``ecg_signal`` (in Hz, i.e., samples/second). Defaults to 1000.
5151
method : str
52-
Can be one of ``"peak"`` for a peak-based method, ``"prominence"`` for a peak-prominence-based method,
52+
Can be one of ``"peak"`` for a peak-based method, ``"prominence"`` for a peak-prominence-based method (Emrich et al., 2024),
5353
``"cwt"`` for continuous wavelet transform or ``"dwt"`` (default) for discrete wavelet transform.
5454
show : bool
5555
If ``True``, will return a plot to visualizing the delineated waves information.
@@ -753,7 +753,7 @@ def _ecg_delineator_cwt(ecg, rpeaks=None, sampling_rate=1000):
753753

754754

755755
# =============================================================================
756-
# PROMINENCE METHOD
756+
# PROMINENCE METHOD (Emrich et al., 2024)
757757
# =============================================================================
758758
def _prominence_ecg_delineator(ecg, rpeaks=None, sampling_rate=1000, **kwargs):
759759
# pysiology-informed boundaries in milliseconds, adapt if needed

0 commit comments

Comments
 (0)