Skip to content

Commit

Permalink
updated square-wave
Browse files Browse the repository at this point in the history
  • Loading branch information
LynnSchmittwilken committed Aug 2, 2022
1 parent 4b8b6b3 commit a035402
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions stimuli/illusions/grating_induction.py
Expand Up @@ -54,9 +54,7 @@ def grating_illusion(
height_px, width_px = degrees_to_pixels(shape, ppd)
target_height_px = degrees_to_pixels(target_height, ppd)

img, pixels_per_cycle = square_wave(
shape, ppd, frequency, high, low, period, start
)
img = square_wave(shape, ppd, frequency, (high, low), period)

target_start = height_px // 2 - target_height_px // 2
target_end = target_start + target_height_px
Expand Down

0 comments on commit a035402

Please sign in to comment.