dominosee.es._event_sync¶
- dominosee.es._event_sync(ew, ed, ewdiff, eddiff, noepw, noepd, tm, output_dtype=<class 'numpy.uint8'>)[source]¶
Calculate event synchronization between two sets of events.
- Parameters:
ew (array) – Event positions (time indices) for each location A
ed (array) – Event positions (time indices) for each location B
ewdiff (array) – Time differences between consecutive events for each location A
eddiff (array) – Time differences between consecutive events for each location B
noepw (array) – Number of events per location A
noepd (array) – Number of events per location B
tm (int) – Maximum time interval parameter for ES
output_dtype (dtype, optional) – Output data type, by default np.uint8
- Returns:
es (array) – Event synchronization matrix