elephant.asset.asset.synchronous_events_contains_all(sse1, sse2)[source]

Given two sequences of synchronous events (SSEs) sse1 and sse2, each consisting of a pool of pixel positions and associated synchronous events (see below), determines whether sse1 strictly contains sse2.

sse1 strictly contains sse2 if it contains all pixels of sse2, if all associated events in sse1 contain those in sse2, and if sse1 additionally contains other pixels / events not contained in sse2.

Both sse1 and sse2 must be provided as dictionaries of the type

{(i1, j1): S1, (i2, j2): S2, …, (iK, jK): SK},

where each i, j is an integer and each S is a set of neuron IDs.

sse1, sse2dict

Dictionaries of pixel positions (i, j) as keys and sets S of synchronous events as values.


True if sse1 strictly contains sse2.

See also


extract SSEs from given spike trains


synchronous_events_contains_all(sse1, sse2) is identical to synchronous_events_is_subsequence(sse2, sse1).