pyActigraphy.sleep.SleepDiary.total_nap_time

SleepDiary.total_nap_time(state='NAP')[source]

Returns the total nap time

Parameters

state (str, optional) – State of interest. Default is ‘NAP’.

Returns

  • mean (pd.Timedelta) – Mean duration of the required state.

  • std (pd.Timedelta) – Standard deviation of the durations of the required state.