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

[Change] Update ppg_quality.py to use consistent interpolation method ('previous') #1044

Conversation

athatcher13
Copy link

Description

This PR aims at adding this feature...
Addressing issue #1043
Standardizing the interpolation step of the ppg_quality pipeline.

Proposed Changes

Within ppg_quality, changed 'templatematch' implementation to use interpolation method 'previous' rather than 'quadratic'. This aligns it with the 'disimilarity' implementation and is a better representation of the beat-by-beat nature of the quality measure.

Checklist

  • I have read the CONTRIBUTING file.
  • My PR is targeted at the dev branch (and not towards the master branch).
  • I ran the CODE CHECKS on the files I added or modified and fixed the errors.
  • I have added the newly added features to News.rst (if applicable)

Addressing issue neuropsychology#1043
Change 'templatematch' implementation to use interpolation method 'previous' rather than 'quadratic'. This aligns it with the 'disimilarity' implementation and is a better representation of the beat-by-beat nature of the quality measure.
Copy link

welcome bot commented Oct 25, 2024

Thanks for opening this pull request! We'll make sure it's perfect before merging 🤗 force
Make sure to read the contributing guide. Also, if you think that your contribution is worthy of it, you can consider adding yourself to the Contributors list (feel free to ask us if you have any doubts).

@DominiqueMakowski
Copy link
Member

Sorry for the delay, thanks @athatcher13
Could you maybe make the same change for ECG quality? As I think we have the same issue: #1052

@DominiqueMakowski DominiqueMakowski merged commit 1d30473 into neuropsychology:dev Dec 8, 2024
8 checks passed
Copy link

welcome bot commented Dec 8, 2024

landing
Congrats on merging your first pull request! 🎉🍾 We're looking forward to your next one!

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.

2 participants