Skip to content

Commit

Permalink
docs: including screenshots of examples, corrects typos
Browse files Browse the repository at this point in the history
  • Loading branch information
guillermoaguilar committed Aug 6, 2024
1 parent 07fcc1a commit 12a688f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
15 changes: 12 additions & 3 deletions docs/useful-examples/show-stimuli.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ which is the one coordinating the rest. When the `main` function finishes,
it closes `HRL`.


### Function `main`
### Function `experiment_main`

The main function first generate all stimuli by calling
the function `stimuli`.
Expand Down Expand Up @@ -394,9 +394,18 @@ if __name__ == "__main__":

### Screenshots

At mid contrast
## Screenshots

First screen shows
![screenshot texture low contrast](show_stimuli_low.png)

After pressing 'Right' we see the texture at mid contrast...
![screenshot texture mid contrast](show_stimuli_mid.png)

At high contrast
After pressing 'Right' again we see the texture with high contrast.
![screenshot texture high contrast](show_stimuli_high.png)


Pressing 'Left' goes in the opposite direction.


Binary file added docs/useful-examples/show_stimuli_low.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions docs/useful-examples/text-displays.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Text displays

In this example we show text to the observer, asking him to
press a button. When pressed, the observer gets feedback.
Which button to press is determind randomly.
press a button.
When pressed, the observer gets feedback.
Which button to press is determined randomly (like the game 'Simon says')

In the code we have separated the functions related to displaying
text into a module called `text_displays.py`.
Expand Down

0 comments on commit 12a688f

Please sign in to comment.