Skip to content

Commit

Permalink
corrected padding value for domijan white
Browse files Browse the repository at this point in the history
  • Loading branch information
LynnSchmittwilken committed Dec 14, 2021
1 parent 0664d20 commit 0e28f39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions stimuli/illusions/whites.py
Expand Up @@ -771,6 +771,7 @@ def domijan2015_white():
targets_offset=0,
orientation="horizontal",
padding=(0.9, 1.0, 0.9, 1.1),
padding_val=5.0,
)


Expand Down
2 changes: 1 addition & 1 deletion stimuli/papers/domijan2015.py
Expand Up @@ -75,7 +75,7 @@ def checkerboard_extended():
for i, (stim_name, stim) in enumerate(stims.items()):
print("Generating", stim_name + "")
st = stim()
img, mask = st.img, st.target_mask
img, mask = st["img"], st["mask"]
img = np.dstack([img, img, img])

mask = np.insert(np.expand_dims(mask, 2), 1, 0, axis=2)
Expand Down

0 comments on commit 0e28f39

Please sign in to comment.