[visionegg] Re: Stimuli updates not rendering
- From: Thorsten Pfister <pfister@xxxxxxxxxxxxxxx>
- To: visionegg@xxxxxxxxxxxxx
- Date: Wed, 21 Nov 2007 17:46:42 +0100
Hi Andrew,
thanks for the pointer. Sorry I hadn't mentioned it before, but Mark
Halko already helped me
out there. Didn't know the variant with error checking though - I will
look into that.
If you like I can post the code to the list when it is finished and
ready to be used (sometime
early next year).
Best regards,
Thorsten
Andrew Straw wrote:
Hi Thorsten,
(Sorry it took so long to have a look at your code.) I think the
overall idea of this program is really good -- I like the concept of
being able to describe an experiment with a simple configuration file.
Anyhow, I think the problem boils down to setting the parameter (such
as "on") of a stimulus. I changed your line of code from:
self.stimulis[self.stimulis_freq_sec.index(interval)].set('on', False)
to:
self.stimulis[0].set(on=False)
which is like the following, but with error checking:
self.stimulis[0].parameters.on = False
This made the first of the stimuli turn off. I guess this is what the
problem was. I hope this helps.
-Andrew
Thorsten Pfister wrote:
Hi,
thanks for the input. Unfortunately I made no progress, so I'll post
the complete code.
======================================
The Vision Egg mailing list
Archives: http://www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html
======================================
The Vision Egg mailing list
Archives: http://www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html
- References:
- [visionegg] Re: Stimuli updates not rendering
- From: Andrew Straw
Other related posts:
- » [visionegg] Stimuli updates not rendering
- » [visionegg] Re: Stimuli updates not rendering
- » [visionegg] Re: Stimuli updates not rendering
- » [visionegg] Re: Stimuli updates not rendering
- » [visionegg] Re: Stimuli updates not rendering
- » [visionegg] Re: Stimuli updates not rendering
Hi Thorsten,(Sorry it took so long to have a look at your code.) I think the overall idea of this program is really good -- I like the concept of being able to describe an experiment with a simple configuration file.
Anyhow, I think the problem boils down to setting the parameter (such as "on") of a stimulus. I changed your line of code from:
self.stimulis[self.stimulis_freq_sec.index(interval)].set('on', False)
to:
self.stimulis[0].set(on=False)
which is like the following, but with error checking:
self.stimulis[0].parameters.on = False
This made the first of the stimuli turn off. I guess this is what the
problem was. I hope this helps.
-Andrew Thorsten Pfister wrote:
Hi,thanks for the input. Unfortunately I made no progress, so I'll post the complete code.
====================================== The Vision Egg mailing list Archives: http://www.freelists.org/archives/visionegg Website: http://www.visionegg.org/mailinglist.html
- [visionegg] Re: Stimuli updates not rendering
- From: Andrew Straw