mne_hfo.find_coincident_events

mne_hfo.find_coincident_events(hfo_dict1, hfo_dict2)[source]

Get a dictionary of hfo events that overlap between two sets.

Note: Both input dictionaries should come from the same original dataset and therefore contain the same keys.

Parameters

hfo_dict1 : dict

keys are channel names and values are list of tuples of start and end times.

hfo_dict2 : dict

keys are channel names and values are list of tuples of start and end times.

Returns

coincident_hfo_dict : dict

Subset of hfo_dict1 containing just the entries that overlap with hfo_dict2.

Examples using mne_hfo.find_coincident_events