wadpac / GGIR

Code corresponding to R package GGIR
https://wadpac.github.io/GGIR/
Apache License 2.0
94 stars 60 forks source link

Sleep efficiency calculation part 4 incorrectly uses guider instead of detect SPT window #1157

Closed vincentvanhees closed 2 months ago

vincentvanhees commented 2 months ago

Sleep efficiency calculation part 4 incorrectly uses guider duration nightsummary[sumi, 9] instead of detect SPT duration nightsummary[sumi, 5].

I am now fixing this.

vincentvanhees commented 2 months ago

Closing, because I now realise this was intentional. When guider reflect true time in bed then we want to use guider and not SPT window.