Skip to content

Commit

Permalink
Add orientation to square_wave component
Browse files Browse the repository at this point in the history
  • Loading branch information
JorisVincent committed Dec 6, 2022
1 parent 3d75063 commit 9ff5628
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions stimuli/components/grating.py
Expand Up @@ -249,6 +249,7 @@ def square_wave(
frequency=None,
n_bars=None,
bar_width=None,
orientation="horizontal",
intensity_bars=(0.0, 1.0),
period="ignore",
):
Expand Down Expand Up @@ -287,6 +288,7 @@ def square_wave(
frequency=frequency,
n_bars=n_bars,
bar_width=bar_width,
orientation=orientation,
period=period,
)
mask = stim["mask"]
Expand Down

0 comments on commit 9ff5628

Please sign in to comment.