Furthemore, I would like to report a stange bug:
Manipulating the percent coherence of the dots moving in a particular
direction perfectly works with all combinations of signal/noise dots
algorithms, excepted when using signalDots = 'different' combined with
noiseDots = 'walk'. At the moment, I don't know if it is a bug of
psychopy or a coding problem in my script.
Cheers,
Mat
I'll add it to the list of issues
(https://github.com/psychopy/psychopy/issues) but it isn't a priority
for me and you'll see there are lots of other things that need doing. So
you'll get it changed faster if you write the code and submit it as a
patch. ;-)
Have a look at the code in DostStim._update_dotsXY() to customise to
your heart's content.
Jon
--
Jonathan Peirce
Nottingham Visual Neuroscience
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.
I'm an Italian Phd student and I'm quiet new on the forums. I'm also
using random dot motion stimuli in my current research, but I'm only
interested in motion-induced attentional shifts. The symmetric
reploting of dead dots you're speaking about is interesting for me for
various theoretical reasons. I've just had a look on the source code
of the DotStim class and particularly on the _update_dotsXY function
which seems to control the destiny of out of bounds dots. At the
moment, all my attempts for implementing this symmetric reborn are not
working (the code looks difficult to me), and I'm searching a simple
way to make it work. Any bright idea would be appreciated!
Paolo.
On Dec 12, 5:15 pm, Jonathan Peirce <jonathan.pei...@nottingham.ac.uk>
wrote:
For others, what Philippe has done here means that his new stimulus
class works just like the existing DotStim. All the methods that he
hasn't touched (like setCoherence()) will still exist and do the same
thing as before. But he's overwritten just the method about how the dots
are updated. And because he hasn't had to do this within the psychopy
files themselves, if he updates psychopy it won't affect his additional
piece.
It's a useful technique to learn for python programming in general.
Jon
On 3 February 2012 12:33, philippe lacherez
> --
> You received this message because you are subscribed to the Google Groups "psychopy-users" group.
> To post to this group, send email to psychop...@googlegroups.com.
> To unsubscribe from this group, send email to psychopy-user...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/psychopy-users?hl=en.
>
On 23/03/2012 09:30, philippe lacherez wrote:
> Hi dani,
>
> Yes, looks like something changed in the last update -- the fieldSize
> is now an array instead of a scalar as previously -- not sure why?
By changing to an array for fieldSize, rather than a scalar, allows
fields with different aspect ratios (e.g. squares and ellipses). But it
seems like that's causing a fatal error under some conditions. Under
what circumstances (e.g. size settings) does this error occur? e.g. when
I run the dot stim demo I don't get the error coming up.
Jon