Skip to content

Commit

Permalink
corrected bug in dot sbcs
Browse files Browse the repository at this point in the history
  • Loading branch information
LynnSchmittwilken committed Jan 13, 2023
1 parent a5241fe commit f9d8a6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stimuli/illusions/sbc.py
Expand Up @@ -172,7 +172,7 @@ def sbc_with_dots(
radius=dot_radius,
ppd=ppd,
intensity_background=0.0,
intensity=intensity_dots,
intensity_discs=intensity_dots,
)["img"]
patch = pad_by_visual_size(img=patch, padding=padding, ppd=ppd, pad_value=0.0)
pixels_per_dot = patch.shape
Expand Down Expand Up @@ -276,7 +276,7 @@ def dotted_sbc(
radius=dot_radius,
ppd=ppd,
intensity_background=0.0,
intensity=intensity_dots,
intensity_discs=intensity_dots,
)["img"]
patch = pad_by_visual_size(img=patch, padding=padding, ppd=ppd, pad_value=0.0)
pixels_per_dot = patch.shape
Expand Down

0 comments on commit f9d8a6a

Please sign in to comment.