Skip to content

Commit

Permalink
Default intensities as floats
Browse files Browse the repository at this point in the history
  • Loading branch information
JorisVincent committed Nov 14, 2022
1 parent 0cbd4fc commit 3452f78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stimuli/components/circular.py
Expand Up @@ -385,7 +385,7 @@ def circular_grating(
frequency=None,
n_rings=None,
ring_width=None,
intensities=[1, 0],
intensities=[1.0, 0.0],
intensity_background=0.5,
supersampling=1,
):
Expand All @@ -406,7 +406,7 @@ def circular_grating(
ring_width : Number, or None (default)
width of a single ring, in degrees
intensities : Sequence[Number, ...]
intensity value for each ring, from inside to out, by default [1,0]
intensity value for each ring, from inside to out, by default [1.0, 0.0]
If fewer intensities are passed than number of radii, cycles through intensities
intensity_background : float (optional)
intensity value of background, by default 0.5
Expand Down

0 comments on commit 3452f78

Please sign in to comment.