mne_realtime.StimServer#
- class mne_realtime.StimServer(port=4218, n_clients=1)[source]#
Stimulation Server.
Server to communicate with StimClient(s).
- Parameters:
See also
- add_trigger(trigger, verbose=None)[source]#
Add a trigger.
- Parameters:
- trigger
int
The trigger to be added to the queue for sending to StimClient.
- verbosebool |
str
|int
|None
Control verbosity of the logging output. If
None
, use the default verbosity level. See the logging documentation andmne.verbose()
for details. Should only be passed as a keyword argument.
- trigger
See also
- shutdown(verbose=None)[source]#
Shutdown the client and server.
- Parameters:
- verbosebool |
str
|int
|None
Control verbosity of the logging output. If
None
, use the default verbosity level. See the logging documentation andmne.verbose()
for details. Should only be passed as a keyword argument.
- verbosebool |
- start(timeout=inf, verbose=None)[source]#
Start the server.
- Parameters:
- timeout
float
Maximum time to wait for clients to be added.
- verbosebool |
str
|int
|None
Control verbosity of the logging output. If
None
, use the default verbosity level. See the logging documentation andmne.verbose()
for details. Should only be passed as a keyword argument.
- timeout
Examples using mne_realtime.StimServer
#
Real-time feedback for decoding :: Server Side
Real-time feedback for decoding :: Server Side