Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

NoiseStim not working

Hello all,

I'm trying to create a coarse noise patch in OpenSesame using psychopy's

NoiseStim function. However, when I try to run it, using the code below, I get the error: 'module' object has no attribute 'NoiseStim'. Is NoiseStim somehow not supported in OpenSesame, or am I missing something else? Is there a nice alternative function that I could use?

Best,

Jasper


from psychopy import visual, event, core, monitors

noise1 = visual.NoiseStim(win, units='pix', mask='circle', ori=1.0, pos=(0, 0), size=(512, 512), sf=None, phase=0, color='white', opacity=1, blendmode='add', contrast=1.0, texRes=512, imageComponent='Phase', noiseType='Gabor', noiseElementSize=4, noiseBaseSf=32.0/512, noiseBW=1.0, noiseBWO=30, noiseFractalPower=-1, noiseFilterLower=3/512, noiseFilterUpper=8.0/512.0, noiseFilterOrder=3.0, noiseClip=3.0, filter=False, interpolate=False, depth=-1.0)

noise1.show()

win.flip()

event.waitKeys(keyList = ['space'])

Comments

Sign In or Register to comment.