mne_realtime.StimClient#

class mne_realtime.StimClient(host, port=4218, timeout=5.0, verbose=None)[source]#

Stimulation Client.

Client to communicate with StimServer

Parameters:
hoststr

Hostname (or IP address) of the host where StimServer is running.

portint

Port to use for the connection.

timeoutfloat

Communication timeout in seconds.

verbosebool | str | int | None

Control verbosity of the logging output. If None, use the default verbosity level. See the logging documentation and mne.verbose() for details. Should only be passed as a keyword argument.

See also

StimServer
close()[source]#

Close the socket object.

get_trigger(timeout=5.0, verbose=None)[source]#

Get triggers from StimServer.

Parameters:
timeoutfloat

maximum time to wait for a valid trigger from the server

verbosebool | str | int | None

Control verbosity of the logging output. If None, use the default verbosity level. See the logging documentation and mne.verbose() for details. Should only be passed as a keyword argument.

Examples using mne_realtime.StimClient#

Real-time feedback for decoding :: Client Side

Real-time feedback for decoding :: Client Side