[visionegg] Re: fixation viewport
- From: Darren Weber <darrenleeweber@xxxxxxxxx>
- To: visionegg@xxxxxxxxxxxxx
- Date: Fri, 18 Mar 2005 11:00:44 -0800
No offence intended to Gabriel or the visionegg itself, I just wanted
to post a couple of very simple questions to get a very straight
forward answer. Yes, it is piecemeal questions at this stage and I
did intend it that way, so it can get a very direct, simple answer. I
rather not bother the list with a diatribe of my python and the
visionegg learning curve at this stage. I do appreciate your help and
I hope to use this list in a polite, sensible manner. I am under a
little bit of time pressue and I have taken a long time already
(several weeks) to learn python and the visionegg, to the point where
I have something almost working (I will gladly submit an archive of
the task when it is completed). I'm just finding a couple of small
points of contruction/syntax a little bit foreign right now. Please
accept my apologies for any inconvenience....thanks very much for the
informative and helpful replies. It really is very much appreciated
right now.
On Fri, 18 Mar 2005 10:51:00 -0800, Darren Weber
<darrenleeweber@xxxxxxxxx> wrote:
> 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
- References:
- [visionegg] Re: fixation viewport
- From: Gabriel Nevarez
- [visionegg] Re: fixation viewport
- From: Darren Weber
- [visionegg] Re: fixation viewport
- From: Darren Weber
- [visionegg] Re: fixation viewport
- From: Darren Weber
- [visionegg] Re: fixation viewport
- From: Darren Weber
Other related posts:
- » [visionegg] fixation viewport
- » [visionegg] Re: fixation viewport
- » [visionegg] Re: fixation viewport
- » [visionegg] Re: fixation viewport
- » [visionegg] Re: fixation viewport
- » [visionegg] Re: fixation viewport
- » [visionegg] Re: fixation viewport
- » [visionegg] Re: fixation viewport
- » [visionegg] Re: fixation viewport
- » [visionegg] Re: fixation viewport
- » [visionegg] Re: fixation viewport
- » [visionegg] Re: fixation viewport
- » [visionegg] Re: fixation viewport
- [visionegg] Re: fixation viewport
- From: Gabriel Nevarez
- [visionegg] Re: fixation viewport
- From: Darren Weber
- [visionegg] Re: fixation viewport
- From: Darren Weber
- [visionegg] Re: fixation viewport
- From: Darren Weber
- [visionegg] Re: fixation viewport
- From: Darren Weber