mne.realtime.StimClient

class mne.realtime.StimClient(host, port=4218, timeout=5.0, verbose=None)

Stimulation Client

Client to communicate with StimServer

Parameters:

host : str

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

port : int

Port to use for the connection.

timeout : float

Communication timeout in seconds.

verbose : bool, str, int, or None

If not None, override default verbose level (see mne.verbose).

See also

StimServer

Methods

__hash__() <==> hash(x)
close() Close the socket object
get_trigger([timeout, verbose]) Method to get triggers from StimServer.
__hash__() <==> hash(x)
close()

Close the socket object

get_trigger(timeout=5.0, verbose=None)

Method to get triggers from StimServer.

Parameters:

timeout : float

maximum time to wait for a valid trigger from the server

verbose : bool, str, int, or None

If not None, override default verbose level (see mne.verbose).