rtcog.comm package
Submodules
rtcog.comm.comm_process module
- rtcog.comm.comm_process.comm_process(opts, sync, proc_class, shared_responses=None, clock=None, time_path=None, minimal=False)[source]
Main communication process handling experiment setup and data reception.
- Parameters:
opts (Options) – Configuration options for the experiment run.
sync (SyncEvents) – Synchronization events object for interprocess signaling.
proc_class (obj) – The processor class to be instantiated.
shared_responses (DictProxy, optional) – Shared dictionary for storing participant responses (default is None).
clock (SharedClock, optional) – Optional timing object for latency measurements (default is None).
time_path (str, optional) – Optional path for saving timing data (default is None).
- Returns:
Return code indicating success (0) or failure (1).
- Return type:
int
rtcog.comm.receiver_interface module
- class rtcog.comm.receiver_interface.CustomReceiverInterface(port=None, show_data=False, verb=0, auto_save=True, clock=None, out_path=None)[source]
Bases:
objectCustom AFNI real-time receiver with rtcog extensions.
- class rtcog.comm.receiver_interface.MinimalReceiverInterface(**kwargs)[source]
Bases:
CustomReceiverInterfaceReceiver interface without any data computation. Used for latency testing.