Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] ECG delineate order #815

Merged

Conversation

danibene
Copy link
Collaborator

Description

This PR aims to fix an issue of incorrect ordering in the ecg_delineate() output. See #761

Proposed Changes

I changed the _dwt_delineate_qrs_bounds() function so only R_Onsets before the Q_Peaks are selected.

Checklist

Here are some things to check before creating the PR. If you encounter any issues, do let us know :)

  • I have read the CONTRIBUTING file.
  • My PR is targeted at the dev branch (and not towards the master branch).

@codecov-commenter
Copy link

codecov-commenter commented Apr 18, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.06 🎉

Comparison is base (3d5ecfc) 53.82% compared to head (edc15b1) 53.88%.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #815      +/-   ##
==========================================
+ Coverage   53.82%   53.88%   +0.06%     
==========================================
  Files         295      295              
  Lines       13799    13800       +1     
==========================================
+ Hits         7427     7436       +9     
+ Misses       6372     6364       -8     
Impacted Files Coverage Δ
neurokit2/ecg/ecg_delineate.py 80.56% <100.00%> (+0.41%) ⬆️

... and 2 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@DominiqueMakowski
Copy link
Member

@Tam-Pham could you throw a quick look at this to make sure we didn't overlook something basic?

@DominiqueMakowski
Copy link
Member

@Tam-Pham bump

1 similar comment
@DominiqueMakowski
Copy link
Member

@Tam-Pham bump

@DominiqueMakowski
Copy link
Member

Let's merge that

@DominiqueMakowski DominiqueMakowski merged commit 698c25d into neuropsychology:dev Jun 5, 2023
@danibene danibene deleted the fix/ecg_delineate_order branch June 5, 2023 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants