Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Dominique Makowski <[email protected]>
  • Loading branch information
JonasEmrich and DominiqueMakowski authored Nov 27, 2024
1 parent 6c648d8 commit 5d35c5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions neurokit2/ecg/ecg_delineate.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def ecg_delineate(
sampling_rate : int
The sampling frequency of ``ecg_signal`` (in Hz, i.e., samples/second). Defaults to 1000.
method : str
Can be one of ``"peak"`` for a peak-based method, ``"prominence"`` for a peak-prominence-based method,
Can be one of ``"peak"`` for a peak-based method, ``"prominence"`` for a peak-prominence-based method (Emrich et al., 2024),
``"cwt"`` for continuous wavelet transform or ``"dwt"`` (default) for discrete wavelet transform.
show : bool
If ``True``, will return a plot to visualizing the delineated waves information.
Expand Down Expand Up @@ -753,7 +753,7 @@ def _ecg_delineator_cwt(ecg, rpeaks=None, sampling_rate=1000):


# =============================================================================
# PROMINENCE METHOD
# PROMINENCE METHOD (Emrich et al., 2024)
# =============================================================================
def _prominence_ecg_delineator(ecg, rpeaks=None, sampling_rate=1000, **kwargs):
# pysiology-informed boundaries in milliseconds, adapt if needed
Expand Down

0 comments on commit 5d35c5d

Please sign in to comment.