Fig 1.
Diagram of the code architecture.
Fig 2.
Visualization example of average daily profiles obtained with pyActigraphy using example files included in the package.
Fig 3.
Visualization example of actigraphy data, overlaid with periods (green: Nap, grey: Night, red: Device not worn) reported in the sleep diary example file included in the package.
Fig 4.
Visualization example of actigraphy data, overlaid with periods scored as “active” (0) or “rest” (1) by Roenneberg’s algorithm [33] for two different settings (full line: Default parameter values, dash line: With a threshold set at 0.25 of the activity trend).
Table 1.
Values of the rest-activity rhythm variables obtained with Motionware (1.2.28) and pyActigraphy.