pyActigraphy.sleep.SleepDiary.state_infos

SleepDiary.state_infos(state)[source]

Returns summary statistics for a given state

Parameters

state (str) – State of interest

Returns

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

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