rtcog.gui package
Submodules
rtcog.gui.base_gui module
rtcog.gui.esam_gui module
- class rtcog.gui.esam_gui.EsamGUI(*, opts, clock=None, shared_responses, **kwargs)[source]
Bases:
BasicGUIGUI class for Experience Sampling (ESAM) fMRI experiments.
Extends DefaultGUI to provide oral recording and Likert-style questionnaires after a template “hit”.
- Parameters:
opts (Options) – Configuration options for the experiment run.
shared_responses (multiprocessing.Manager().dict) – Shared dictionary for returning participant responses.
clock (SharedClock, optional) – Clock for timing events during latency testing.
- draw_likert_questions(order=None)[source]
Display a sequence of Likert-style questions for participant response.
- Parameters:
order (list of int, optional) – Order in which to present the questions. Defaults to sequential.
- Returns:
Dictionary of {question_name: (rating, rt)} for each response.
- Return type:
dict
- record_oral_descr()[source]
Record the participant’s oral description after a hit.
Displays recording screen and plays a sound cue. Saves audio to a WAV file.
rtcog.gui.gui_utils module
rtcog.gui.preproc_gui module
- class rtcog.gui.basic_gui.BasicGUI(opts, *, clock=None, **kwargs)[source]
Bases:
BaseGUIDefault GUI class for real-time fMRI experiments using PsychoPy.
Displays a resting instruction screen and optionally collects TR trigger timings.
- Parameters:
opts (Options) – Configuration options for the experiment run.
clock (SharedClock, optional) – Clock object for precise timestamping of trigger events.