Skip to content

Commit

Permalink
Merge pull request #49 from computational-psychology/feat_todorovics
Browse files Browse the repository at this point in the history
Bugfix: Todorovics
  • Loading branch information
JorisVincent committed Mar 24, 2023
2 parents 1d7246a + 4d500d2 commit 37d8535
Show file tree
Hide file tree
Showing 2 changed files with 181 additions and 149 deletions.
18 changes: 9 additions & 9 deletions docs/reference/demos/stimuli/todorovics.md
Expand Up @@ -228,10 +228,10 @@ display(ui, out)
```

## Rectangle, two-sided
{py:func}`stimupy.stimuli.todorovics.two_sided_rectangle`
{py:func}`stimupy.stimuli.todorovics.rectangle_two_sided`

```{code-cell} ipython3
from stimupy.stimuli.todorovics import two_sided_rectangle
from stimupy.stimuli.todorovics import rectangle_two_sided
# Define widgets
w_height = iw.IntSlider(value=10, min=1, max=20, description="height [deg]")
Expand Down Expand Up @@ -281,7 +281,7 @@ def show_two_sided_rectangle(
intback2=None,
add_mask=False,
):
stim = two_sided_rectangle(
stim = rectangle_two_sided(
visual_size=(height, width),
ppd=ppd,
target_size=(theight, twidth),
Expand Down Expand Up @@ -500,10 +500,10 @@ display(ui, out)
```

## Cross, two-sided
{py:func}`stimupy.stimuli.todorovics.two_sided_cross`
{py:func}`stimupy.stimuli.todorovics.cross_two_sided`

```{code-cell} ipython3
from stimupy.stimuli.todorovics import two_sided_cross
from stimupy.stimuli.todorovics import cross_two_sided
# Define widgets
w_height = iw.IntSlider(value=10, min=1, max=20, description="height [deg]")
Expand Down Expand Up @@ -549,7 +549,7 @@ def show_two_sided_cross(
intback2=None,
add_mask=False,
):
stim = two_sided_cross(
stim = cross_two_sided(
visual_size=(height, width),
ppd=ppd,
cross_size=(theight, twidth),
Expand Down Expand Up @@ -661,10 +661,10 @@ display(ui, out)
```

## Equal, two-sided
{py:func}`stimupy.stimuli.todorovics.two_sided_equal`
{py:func}`stimupy.stimuli.todorovics.equal_two_sided`

```{code-cell} ipython3
from stimupy.stimuli.todorovics import two_sided_equal
from stimupy.stimuli.todorovics import equal_two_sided
# Define widgets
w_height = iw.IntSlider(value=10, min=1, max=20, description="height [deg]")
Expand Down Expand Up @@ -706,7 +706,7 @@ def show_two_sided_equal(
intback2=None,
add_mask=False,
):
stim = two_sided_equal(
stim = equal_two_sided(
visual_size=(height, width),
ppd=ppd,
cross_size=(theight, twidth),
Expand Down

0 comments on commit 37d8535

Please sign in to comment.