[visionegg] Re: fixation viewport

I mean this document:

http://www.visionegg.org/reference/VisionEgg.Core.FixationSpot-class.html

has a heirarchy picture that suggests FixationSpot sits below Stimulus.


On Fri, 18 Mar 2005 10:49:40 -0800, Darren Weber
<darrenleeweber@xxxxxxxxx> wrote:
> So I was confused by the reference documentation that indicates the
> FixationSpot is a subclass of Stimulus, but to instantiate it, it
> seems we need VisionEgg.Core.FixationSpot.
> 
> BTW, it's curious that the following fails:
> 
> fixation = VisionEgg.Core.FixationSpot()
> fixation_view = Viewport( screen = screen, stimuli = fixation )
> 
> but this works:
> 
> fixation = VisionEgg.Core.FixationSpot()
> fixation_view = Viewport( screen = screen, stimuli = [ fixation ] )
> 
> It seems that the stimuli parameter for Viewport must be a list.
> 
> On Fri, 18 Mar 2005 10:15:26 -0800, Darren Weber
> <darrenleeweber@xxxxxxxxx> wrote:
> > Not to mention the problem with Stimulus.FixationSpot...
> >
> >
> > On Fri, 18 Mar 2005 10:12:52 -0800, Darren Weber
> > <darrenleeweber@xxxxxxxxx> wrote:
> > > Yes, that would be nice, but how about answering my question?  Do I
> > > have to search all over the python world to find this too?  I have
> > > started using python, after many years of working with perl and
> > > recently matlab.  I have some idea of object oriented programming and
> > > I realise that this particular problem seems so simple to solve.  I
> > > expected to read the class documentation, find the right
> > > variable/parameter to set and then just set it.  However, it was not
> > > solved in 5 minutes and I'm not sure what the next step is.  Maybe I
> > > need to learn more about the python class and parameter setting
> > > process.  I was wondering if I have to use create_screen() rather than
> > > get_default_screen() just so I can set the screen background color.  I
> > > figure that screen background color should be a dynamic variable, so I
> > > was hoping that screen.bgcolor was something I could set.  Not so
> > > simple, Mr Magoo :-o
> > >
> > >
> > > On Fri, 18 Mar 2005 17:58:27 +0000, Gabriel Nevarez
> > > <nevarezg@xxxxxxxxxxxxx> wrote:
> > > > Hi, Andrew and all,
> > > >
> > > > It might be a good idea to add a section to the VisionEgg web site with 
> > > > actual implemented studies (contributed by volunteers), in addition to 
> > > > the standard demos.  This would aid with some of these questions, in 
> > > > addition to lowering the bar for newbies wanting to try out VisionEgg.  
> > > > At the very least, the addition of code templates for common 
> > > > psychophysical study-types, such as RSVP or multiple-object tracking, 
> > > > might be useful.
> > > >
> > > > As a research programmer, I have the luxury of dedicating myself to 
> > > > scowering the related python newgroups and lists and trying things out 
> > > > on my own, but many of my psychologist colleagues don't have either the 
> > > > time or programming knowledge to do this... in effect, the very reason 
> > > > tools like VisionEgg exist (to make psychophysical studies easier to 
> > > > implement!)
> > > >
> > > > I know I've had many of these same questions when I first started 
> > > > coding in python/VisionEgg, and I learned as everybody else does... by 
> > > > example.
> > > >
> > > > cheers,
> > > > -=Gabriel Nevarez
> > > > Research Programmer
> > > > Psychology Department
> > > > Cardiff University
> > > > http://www.cf.ac.uk/psych
> > > >
> > > > >>> darrenleeweber@xxxxxxxxx 18/03/05 5:42 PM >>>
> > > > Hi,
> > > >
> > > > the construct
> > > >
> > > > screen = get_default_screen()
> > > >
> > > > creates a gray screen.  The reference documentation for the screen
> > > > class indicates that it has a bgcolor parameter.  I've tried a number
> > > > of ways to set it, without success.  How do we set this parameter?  I
> > > > want, bgcolor = (0.0, 0.0, 0.0), rather than the default gray.
> > > >
> > > > Best, Darren
> > > > ======================================
> > > > 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
> > > >
> > >
> >
>
======================================
The Vision Egg mailing list
Archives: http://www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html

Other related posts: