Vincent van Hees;
Jairo H Migueles;
Joan Capdevila Pujol;
Jurriaan H. Spaaks;
Part1: Improved handling of the expand_tail_max_hours functionality and replacing by argument recordingEndSleepHour. Further, the expanded time is now ignored in reports and visualizations.
Part 5: dayborder != 0 is now handled in g.part5.wakesleepwindow
Part 5: excludefirstlast.part5 is now applied per window type in g.report.part5
Part 2 and 5: arguments bout.metric or closedbout deprecated, g.getbout function
simplified to a single algorithm.
Part 2 and 5: Bout detection improved such that it can now detect bouts that
equal the epoch length, and it no longer overestimates bout length by 1 epoch when
epoch length is less than 30 seconds and boutcriter is less than 1.