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(flag_nonwear): account for NA to calculate wear time stats #58

Merged
merged 2 commits into from
Oct 25, 2024

Conversation

chanshing
Copy link
Member

@chanshing chanshing commented Oct 25, 2024

Previous calculation does not account for potential NA in the data. Also recalculate and return NumInterrupts and Covers24hOK after nonwear segments are flagged.

Closes #47

@chanshing chanshing changed the title fix(flag_nonwear): dropna when recalculating wear time stats fix(flag_nonwear): account for NA to calculate wear time stats Oct 25, 2024
Previous calculation does not account for potential NA in the data. Also recalculate and return NumInterrupts and Covers24hOK after nonwear segmentes are flagged.
@chanshing chanshing merged commit 30b7a24 into master Oct 25, 2024
50 checks passed
@chanshing chanshing deleted the fix/nonwear-calculation branch October 25, 2024 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

detect_nonwear wear time calculation does not account for NA
1 participant