Beispiel #1
0
    def __init__(self, filename):

        texture = Texture(self.stimdir + filename)  # load the picture
        self.type = 'picture'

        TextureStimulus.__init__(self,
            texture = texture, size = (300, 400), **std_params)
    def __init__(self, picname):
        self.picname = picname
        self.motiv = picname[0]
        self.valen = picname[2]

        texture = Texture(STIM_DIRECTORY + picname)  # load the picture

        TextureStimulus.__init__(self, texture=texture, size=(500, 400), **std_params)