physioex.data.events_to_dicts#

physioex.data.events_to_dicts(events)[source]#

Convert a list of SleepEvent objects to a list of dicts.

Parameters:

events (List[SleepEvent])

Return type:

List[Dict[str, Any]]