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

Facilitate methodological research on naps/sleep by comparing with self-reported nap/sleep #967

Open
4 tasks done
vincentvanhees opened this issue Nov 6, 2023 · 1 comment

Comments

@vincentvanhees
Copy link
Member

vincentvanhees commented Nov 6, 2023

In the closed issue #687 I expanded part 5 with a comparison of self-report nap, nonwear and accelerometer-based detection of sustained inactivity bouts (sib).

Next step in the project is to focus more on overlap of sibs with self-reported time in bed in order to better understand how lying in bed prior to falling a sleep or after waking up relates to self-reported time in bed.

Next step is to:

  • Inside g.sibreport.R integrate sleeplog in sibreport object to allow for comparing time in bed (TIB) with sibs in g.part5.analyseRest.R
  • In g.part5 add TIB to ts object because it is likely to only partially overlap with waking hours (focus of rest analysis) and because it will be useful for visualisations later on.
  • Inside g.part5.analyseRest.R describe overlap TIB and sib in line with how it is done for nonwear and naps
  • Check that acc before/after is correctly documented
@vincentvanhees vincentvanhees self-assigned this Nov 6, 2023
vincentvanhees added a commit that referenced this issue Nov 6, 2023
vincentvanhees added a commit that referenced this issue Jul 18, 2024
vincentvanhees added a commit that referenced this issue Sep 2, 2024
- added parameter passible_nap_gap
- existing parameters now actually used
- midnight better handled in sibreport
@vincentvanhees vincentvanhees changed the title Facilitate methodological research on self-reported time in bed and sibs Facilitate methodological research on naps/sleep by comparing with self-reported nap/sleep Sep 2, 2024
@vincentvanhees
Copy link
Member Author

vincentvanhees commented Sep 2, 2024

  • g.part5.analyseRest is now run for every iteration of PA analyses in part 5, which seems redundant.
  • when everything works remove original nap detection functionality because this will supersede it
  • review and expand documentation in Annex about output.
  • add visual examples of new visualreport
  • Enhancing g.loadlog and g.sibreports to extract both the reported sleepwindow and reported time in bed.

vincentvanhees added a commit that referenced this issue Sep 5, 2024
previously user was forced to either store time in bed or SPT in their advance sleepdiary.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant