this might be cleaner

```python
all_events = np.unique(events[:, 2])
ev_intersect = [e for e in unique_events if e in all_events]
```
just my subjective opinion.