Skip to content

Commit

Permalink
added target masks to delboeuf
Browse files Browse the repository at this point in the history
  • Loading branch information
LynnSchmittwilken committed Mar 16, 2023
1 parent 5d92cef commit f45221b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions stimupy/illusions/delboeufs.py
Expand Up @@ -83,6 +83,8 @@ def delboeuf(
inner["line_mask"] = outer["line_mask"]
inner["outer_radius"] = outer_radius
inner["target_radius"] = target_radius
inner["target_mask"] = inner["ring_mask"]
del inner["ring_mask"]
return inner


Expand All @@ -108,12 +110,12 @@ def two_sided(
pixels per degree [vertical, horizontal]
shape : Sequence[Number, Number], Number, or None (default)
shape [height, width] of grating, in pixels
outer_radius : Number
outer_radii : Sequence[Number, Number], or None (default)
radius of outer circle
outer_line_width : Number
line width of outer circle in degrees visual angle
if 0 (default), set line width to 1 px
target_radius : Number
target_radius : Number or None (default)
radius of target circle
intensity_outer_line : Number
intensity value of outer circle line (default: 0)
Expand Down

0 comments on commit f45221b

Please sign in to comment.