main.run_paradigm_cli
stroop_task.main.run_paradigm_cli(=60,
n_trials='english',
language=None,
logger_level='color',
focus=False,
write_to_serial=False,
random_wait=False,
classical=45,
classic_stroop_time_s=False,
show_fps )
Starting the Stroop paradigm standalone in a pyglet window
Parameters
Name | Type | Description | Default |
---|---|---|---|
n_trials | int (default: 60) | Number of trials to run in a block. Should be a multiple of 12 to ensure proper balancing | 60 |
language | str (default: "english") | Language to use. Currently available: - “english” - “dutch” - “german” | 'english' |
logger_level | str | None (default: None) | Configuration level for the logger. This will overwrite the value from configs/logging.yaml . Common python logging names are accepted: DEBUG, INFO, WARNING, ERROR |
None |
focus | str (default: "color") | Whether the task was to focus on text or on color for the upper word. Just used in logging. Currently not implemented! -> always focus on color |
'color' |
write_to_serial | bool (default: False) | If True, the marker writer will also consider the configuration for the serial output. Not used if no serial marker hardware is connected. | False |
random_wait | bool (default: False) | If True, a random wait will be done between trials instead of waiting for the key down press. Timed as configured in configs/task.yaml . |
False |
classical | bool (default: False) | If True, the classical stroop paradigm will be run with displaying the color words on the screen as a table and the subject is asked to read as many as possible in a given time interval. Ask them to name the color of the font. | False |
classic_stroop_time_s | float (default: 45) | Time in seconds for the classical stroop task. Used if classical is True. |
45 |
show_fps | bool | If True, the FPS will be shown on the screen. | False |