Visual working memory

class bci_framework.default_extensions.Visual_working_memory.main.VisualWorkingMemory[source]

Visual working memory: change detection task.

_set_visible_markers(visible: bool)None[source]

Toggle the squares visibility.

build_markers(shapes: int)None[source]

Display the squares.

build_squares_area()None[source]

Create a space to positioning the squares.

build_trials()None[source]

Define the trials and pipeline trials.

The trials consist (in this case) in a list of cues. The pipeline trials is a set of couples (callable, duration) that define a single trial, this list of functions are executed asynchronously and repeated for each trial.

clear()None[source]

Remove all elements from view.

cue(cue: Literal[Right, Left], shapes: int, change: bool)None[source]

Show the cue to indicate the hemifield target.

handle_response(response: str)None[source]

Capture the subject keyboard response.

memory_array(cue: Literal[Right, Left], shapes: int, change: bool)None[source]

Show the initial array.

prepare_shuffle(cue: Literal[Right, Left], differences: int = 1)None[source]

Makes sure of changing the color of the squares.

retention(cue: Literal[Right, Left], shapes: int, change: bool)None[source]

Remove the array.

soa(cue: Literal[Right, Left], shapes: int, change: bool)None[source]

Stimulus onset asynchronously.

start()[source]

Start the run.

A run consist in a consecutive trials execution.

stop()[source]

Stop pipeline execution.

synchronizer(value: bool)None[source]

Show or hide synchronizer.

test_array(cue: Literal[Right, Left], shapes: int, change: bool)None[source]

Show the array again.

test_shapes()None[source]

Preview the size and distribution of the squares.