def _create_event_ch(self, events, n_samples=None):
        if n_samples is None:
            n_samples = self.last_samp - self.first_samp + 1
        events = np.array(events, int)
        if events.ndim != 2 or events.shape[1] != 3:
            raise ValueError("[n_events x 3] shaped array required")
        # update events
        self._event_ch = _synthesize_stim_channel(events, n_samples)
Toggle whether a stream reader is currently running
dataset/ETHPy150Open mne-tools/mne-python/mne/io/eeglab/eeglab.py/RawEEGLAB._create_event_ch--crossover with--dataset/ETHPy150Open lbryio/lbry/lbrynet/lbryfilemanager/LBRYFileManager.py/LBRYFileManager.toggle_lbry_file_running