Skip to content

Commit

Permalink
also allow for max sib duration
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentvanhees committed Jul 11, 2024
1 parent bb69b68 commit 77b797d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/g.part5.analyseRest.R
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ g.part5.analyseRest = function(sibreport = NULL, dsummary = NULL,
}
longboutsi = which((sibreport$type == "sib" &
sibreport$duration >= possible_nap_dur[1] &
sibreport$duration < possible_nap_dur[2] &
sibreport$acc_edge <= possible_nap_edge_acc) |
(sibreport$type != "sib" & sibreport$duration >= 1))
# for qc purposes:
Expand Down

0 comments on commit 77b797d

Please sign in to comment.