Permalink
Browse files

gaborpatch colour

  • Loading branch information...
lindemann09 committed Sep 28, 2017
1 parent 1d2599b commit e461fa301f32f4f5bf3acc70551cdb05d74fa181
@@ -15,7 +15,6 @@
__revision__ = ''
__date__ = ''
from expyriment.misc import constants
class GaborPatch:
"""A class implementing a Gabor Patch."""
@@ -27,7 +26,7 @@ def __init__(self, position=None,
phase=0.5,
psi=120,
gamma=1,
background_colour=constants.C_DARKGREY):
background_colour=(127, 127, 127)):
"""Create a Gabor Patch.
Parameters
----------
@@ -46,7 +45,8 @@ def __init__(self, position=None,
gamma : float
0 to 1 inclusive (default=1)
background_colour : (int,int,int), optional
colour of the background, default: misc.constants.C_DARKGREY
colour of the background, default: (127, 127, 127)
Notes
-----
The background colour of the stimulus depends of the parameters of
@@ -35,7 +35,7 @@ def __init__(self, position=None,
phase=0.5,
psi=120,
gamma=1,
background_colour=constants.C_DARKGREY):
background_colour=(127, 127, 127)):
"""Create a Gabor Patch.
Parameters
@@ -55,7 +55,7 @@ def __init__(self, position=None,
gamma : float
0 to 1 inclusive (default=1)
background_colour : (int,int,int), optional
colour of the background, default: misc.constants.C_DARKGREY
colour of the background, default: (127, 127, 127)
Notes
-----

0 comments on commit e461fa3

Please sign in to comment.