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_dict1dict

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

hfo_dict2dict

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

Returns:
coincident_hfo_dictdict

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