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

ECG: Corrected Error in basSQI calculation #840

Merged
merged 1 commit into from
Jun 12, 2023

Conversation

Jacob-Liam-Albaugh
Copy link
Contributor

@Jacob-Liam-Albaugh Jacob-Liam-Albaugh commented Jun 12, 2023

Description

from Zhao and Zhang's paper (https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6011094/#B11) in figure 11

Proposed Changes

the the basSQI should be (1-∫p(t)) / ∫p(t). I therefore changed the _ecg_quality_basSQI function return from "return (1 - num_power) / dem_power" to "return (1 - num_power) / dem_power"

Screenshot 2023-06-12 at 2 17 54 PM Screenshot 2023-06-12 at 2 18 57 PM Screenshot 2023-06-12 at 2 20 20 PM

from Zhao and Zhang's paper (https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6011094/#B11) in figure 11 the the basSQI should be (1-∫p(t)) / ∫p(t). I therefore changed the _ecg_quality_basSQI function return from "return (1 - num_power) / dem_power" to  "return (1 - num_power) / dem_power"
@welcome
Copy link

welcome bot commented Jun 12, 2023

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 DominiqueMakowski changed the title Corrected Error in basSQI calculation ECG: Corrected Error in basSQI calculation Jun 12, 2023
@DominiqueMakowski
Copy link
Member

Nice catch @Jacob-Liam-Albaugh , and welcome to GitHub ☺️

@DominiqueMakowski DominiqueMakowski merged commit fdb9572 into neuropsychology:dev Jun 12, 2023
@welcome
Copy link

welcome bot commented Jun 12, 2023

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