Commit e7cc797 1 parent 9f371f7 commit e7cc797 Copy full SHA for e7cc797
File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ class PlayerLSL(BasePlayer):
60
60
the chunk are pushed on the annotation :class:`~mne_lsl.lsl.StreamOutlet`. The
61
61
:class:`~mne.Annotations` are pushed with a timestamp corrected for the annotation
62
62
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.
64
64
Thus, an :class:`~mne.Annotations` can arrived at the client
65
65
:class:`~mne_lsl.lsl.StreamInlet` "ahead" of time, i.e. earlier than the current
66
66
time (as returned by the function :func:`~mne_lsl.lsl.local_clock`). Thus, it is
@@ -89,6 +89,12 @@ class PlayerLSL(BasePlayer):
89
89
streamed on a channel correspond to the duration of the :class:`~mne.Annotations`.
90
90
Thus, a sample on this :class:`~mne_lsl.lsl.StreamOutlet` is a one-hot encoded
91
91
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``.
92
98
"""
93
99
94
100
_name : Incomplete
You can’t perform that action at this time.
0 commit comments