Skip to content

Commit

Permalink
corrected bug in white
Browse files Browse the repository at this point in the history
  • Loading branch information
LynnSchmittwilken committed Oct 4, 2022
1 parent bb4b8ac commit 7f7537a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions stimuli/papers/murray2020.py
Expand Up @@ -555,9 +555,9 @@ def white(ppd=PPD):
- "original_range" containing the original stimulus intensities in cd/m**2
"""
params = {
"ppd": PPD,
"ppd": ppd,
"shape": (8.0, 8.0),
"grating_frequency": 4 / 8.0,
"grating_frequency": 4. / 8.,
"target_indices_top": (1, 3, 5),
"target_indices_bottom": (2, 4, 6),
"target_center_offset": 2,
Expand All @@ -580,7 +580,6 @@ def white(ppd=PPD):

params.update(visual_size=np.array(normed_img.shape)/ppd,
shape=normed_img.shape,
ppd=ppd,
original_range=original_range,
intensity_range=(0., 1.),
)
Expand Down

0 comments on commit 7f7537a

Please sign in to comment.