Skip to content

Commit

Permalink
Default intensities for components.waves
Browse files Browse the repository at this point in the history
  • Loading branch information
JorisVincent committed Mar 21, 2023
1 parent 84485c0 commit 07e83e6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions stimupy/components/waves.py
Expand Up @@ -247,7 +247,7 @@ def sine(
period="ignore",
rotation=0.0,
phase_shift=None,
intensities=None,
intensities=(0.0, 1.0),
origin=None,
base_type=None,
round_phase_width=None,
Expand Down Expand Up @@ -276,8 +276,8 @@ def sine(
rotation of grating in degrees
phase_shift : float or None (default)
phase shift of grating in degrees
intensities : Sequence[float, float] or None (default)
min and max intensity of sine-wave
intensities : Sequence[float, float]
min and max intensity of sine-wave, by default (0.0, 1.0).
origin : "corner", "mean", "center" or None (default)
if "corner": set origin to upper left corner
if "mean": set origin to hypothetical image center
Expand Down Expand Up @@ -462,7 +462,7 @@ def square(
period="ignore",
rotation=0.0,
phase_shift=None,
intensities=None,
intensities=(0.0, 1.0),
origin=None,
base_type=None,
round_phase_width=None,
Expand Down Expand Up @@ -491,8 +491,8 @@ def square(
rotation of grating in degrees
phase_shift : float or None (default)
phase shift of grating in degrees
intensities : Sequence[float, float] or None (default)
min and max intensity of square-wave
intensities : Sequence[float, float]
min and max intensity of square-wave, by default (0.0, 1.0).
origin : "corner", "mean", "center" or None (default)
if "corner": set origin to upper left corner
if "mean": set origin to hypothetical image center
Expand Down

0 comments on commit 07e83e6

Please sign in to comment.