Skip to content

Commit e7cc797

Browse files
[autofix.ci] apply automated fixes
1 parent 9f371f7 commit e7cc797

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/mne_lsl/player/player_lsl.pyi

+7-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class PlayerLSL(BasePlayer):
6060
the chunk are pushed on the annotation :class:`~mne_lsl.lsl.StreamOutlet`. The
6161
:class:`~mne.Annotations` are pushed with a timestamp corrected for the annotation
6262
onset in regards to the chunk beginning. However, :class:`~mne.Annotations` push is
63-
*not* delayed until the the annotation timestamp or until the end of the chunk.
63+
*not* delayed until the annotation timestamp or until the end of the chunk.
6464
Thus, an :class:`~mne.Annotations` can arrived at the client
6565
:class:`~mne_lsl.lsl.StreamInlet` "ahead" of time, i.e. earlier than the current
6666
time (as returned by the function :func:`~mne_lsl.lsl.local_clock`). Thus, it is
@@ -89,6 +89,12 @@ class PlayerLSL(BasePlayer):
8989
streamed on a channel correspond to the duration of the :class:`~mne.Annotations`.
9090
Thus, a sample on this :class:`~mne_lsl.lsl.StreamOutlet` is a one-hot encoded
9191
vector of the :class:`~mne.Annotations` description/duration.
92+
93+
.. note::
94+
95+
If the duration of an annotatation is ``0``, then the one-hot encoded vector
96+
becomes a null vector. In this special case, the value ``-1`` is encoded and
97+
denotes an annotation with a duration of ``0``.
9298
"""
9399

94100
_name: Incomplete

0 commit comments

Comments
 (0)