From aebbeb313d4140dc16fa13bf465832bbd9b806be Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 8 Aug 2024 08:06:03 +0200 Subject: [PATCH] Update stub files (#315) Co-authored-by: github-actions[bot] --- mne_lsl/stream/epochs.pyi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/mne_lsl/stream/epochs.pyi b/mne_lsl/stream/epochs.pyi index 44cd2ee43..64b558381 100644 --- a/mne_lsl/stream/epochs.pyi +++ b/mne_lsl/stream/epochs.pyi @@ -226,6 +226,7 @@ class EpochsStream: _tmin_shift: Incomplete _ch_idx_by_type: Incomplete _buffer: Incomplete + _buffer_events: Incomplete _executor: Incomplete def connect(self, acquisition_delay: float = 0.001) -> EpochsStream: @@ -317,6 +318,16 @@ class EpochsStream: :type: :class:`bool` """ + @property + def events(self) -> NDArray[np.int16]: + """Events of the epoched LSL stream. + + Contrary to the events stored in ``mne.Epochs.events``, only the integer code + of the event is stored in a :class:`~mne_lsl.stream.EpochsStream` object. + + :type: :class:`numpy.ndarray` + """ + @property def info(self) -> Info: """Info of the epoched LSL stream.