Skip to content

Commit

Permalink
Bugfix: output visual_size, ppd in gratings.on_grating
Browse files Browse the repository at this point in the history
Closes #18
  • Loading branch information
JorisVincent committed Mar 22, 2023
1 parent 4eec2de commit 52b57de
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions stimupy/stimuli/gratings.py
Expand Up @@ -198,7 +198,11 @@ def on_grating_masked(

stim = {
"img": img,
"visual_size": large_grating["visual_size"],
"ppd": large_grating["ppd"],
"target_mask": mask.astype(int),
"small_grating_mask": small_grating["grating_mask"],
"large_grating_mask": large_grating["grating_mask"],
"bar_width_small": small_grating["bar_width"],
"bar_width_large": large_grating["bar_width"],
}
Expand Down

0 comments on commit 52b57de

Please sign in to comment.