--
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.


unfortunately I'm using the builder- I'm not proficient with coding! --
-- Dr. Jonathan Peirce Nottingham Visual Neuroscience http://www.peirce.org.uk/
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.
unfortunately I'm using the builder- I'm not proficient with coding!
--
You received this message because you are subscribed to the Google Groups "psychopy-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/psychopy-users/-/eiAX6PCJxLsJ.
> --
> You received this message because you are subscribed to the Google
> Groups "psychopy-users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/psychopy-users/-/m9KZq-q-PEQJ.
> 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.
--
> could just present all 80 of them in a random order! --
> You received this message because you are subscribed to the Google
> Groups "psychopy-users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/psychopy-users/-/QQxgJBre6vQJ.
> 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.
--
i'll give it a go!
--
You received this message because you are subscribed to the Google Groups "psychopy-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/psychopy-users/-/Vss2k0J-o8gJ.
When I actually created it I noticed a slight wrinkle which is that
nothing at the moment directly stores the trial number in the way I
thought. There's
trials.thisTrialN which stores the trial number within this rep
trials.thisRepN which stores the number of the repeat
For the demo I've sent you there is only one condition repeating many
times (so I used thisRepN) but more likely you need many conditions
repeating once (so you need to switch to using thisTrialN).
I wish I had set thisTrialN to keep track of the total number of trials
run so far. But I guess we'll add something new to do that in the next
release (trials.N ?).
On 22/09/2011 10:27, Victoria Simms wrote:
> I tried to use that script- first of all what do you mean by the 'Each
> frame section'?
In the Code Component (look in the Break Routine of the attached exp)
> Also when I have put any new script in I get this message:
> if trials.thisTrialN not in [20,40]:
> NameError: name 'trials' is not defined
You need a loop called trials and you'd need the break routine to be
within that loop.
If your loop is called runs then you need runs.thisTrialN etc.
> Sorry for being a pain.
Don't worry - user issues highlight the things that we need to
add/adjust. You've got me thinking about new ways to make things run
only under certain conditions, but I'll probably start a new thread
about that...
Jon
if not (trials.thisRepN in [20,40] and trials.thisTrialN == 0):
continueRoutine = False
For example, if you had two conditions [rows] in your .csv (i.e.
distractor: 'present' or 'absent'), this would break after 40 and 80
trials, respectively. Otherwise you'd have two breaks right after each
other in rep 20 and rep 40.
Hope this helps someone. Thanks for making this excellent software,
Erik
On Sep 26, 4:13 am, newbie <victoriasimm...@gmail.com> wrote:
> It works!
>
> Thanks!
>
> On Sep 23, 8:20 am, Jonathan Peirce <jon.pei...@gmail.com> wrote:
>
>
>
>
>
>
>
> > I've attached a demo experiment to show you the idea.
>
> > When I actually created it I noticed a slight wrinkle which is that
> > nothing at the moment directly stores the trial number in the way I
> > thought. There's
> > trials.thisTrialN which stores the trial number within this rep
> > trials.thisRepN which stores the number of the repeat
> > For the demo I've sent you there is only one condition repeating many
> > times (so I used thisRepN) but more likely you need many conditions
> > repeating once (so you need to switch to using thisTrialN).
>
> > I wish I had set thisTrialN to keep track of the total number oftrials
> > run so far. But I guess we'll add something new to do that in the next
> > release (trials.N ?).
>
> > On 22/09/2011 10:27, Victoria Simms wrote:> I tried to use that script- first of all what do you mean by the 'Each
> > > frame section'?
>
> > In the Code Component (look in theBreakRoutine of the attached exp)> Also when I have put any new script in I get this message:
> > > iftrials.thisTrialN not in [20,40]:
> > > NameError: name 'trials' is not defined
>
> > You need a loop calledtrialsand you'd need thebreakroutine to be
Is there some symbol/code snippet that I can place inside the Text dialog box in Builder that would allow me to tell the participant what trial they had just completed before the break, e.g. "You've just completed 20 trials! Take a short break." where the '20' would draw form something like $trials.thisTrialN.
I tried that but I get a syntax error when I try to compile. I'm not very familiar with how to do this sort of dynamic text in Python, so some basics would be helpful.
Thanks!
On Wednesday, 21 September 2011 11:34:57 UTC-4, Jon wrote:Could you use 3 loops of 20 trials and insert a 'Break' routine in between them? (you'll have to call it 'Break', because 'break' is a reserved word in the programming language):
In that case your Break Routine would just be something like a keyboard that lasted the length of your break and ended early on a press(?)
If that isn't possible with your trial structure then you could have a Flow like this:
And the Break Routine would then be as above, but also with something that terminates the routine if it isn't rep number
20 or 40.So Break occurs on every pass but terminates immediately nearly every time. The way to do that is to have a Code Component with the following code in the 'Each Frame' section:
if trials.thisTrialN not in [20,40]:
continueRoutine=False
Jon
PS anyone know what the EPrime way would be? ie Is there something more intuitive we cold allow?
On 21/09/2011 15:44, newbie wrote:unfortunately I'm using the builder- I'm not proficient with coding! --
-- Dr. Jonathan Peirce Nottingham Visual Neuroscience http://www.peirce.org.uk/
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.
--
You received this message because you are subscribed to the Google Groups "psychopy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to psychopy-user...@googlegroups.com.
To post to this group, send email to psychop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/psychopy-users/e5a4889b-6210-4932-98ac-d1bb7b64fe3a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "psychopy-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/psychopy-users/gvSkCZa2ceE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to psychopy-user...@googlegroups.com.
To post to this group, send email to psychop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/psychopy-users/DE17F848-DA62-4D15-9E51-6D5556AAF1B2%40nzbri.org.
--
You received this message because you are subscribed to a topic in the Google Groups "psychopy-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/psychopy-users/gvSkCZa2ceE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to psychopy-user...@googlegroups.com.
To post to this group, send email to psychop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/psychopy-users/53C3C8EC-2CC4-47B8-A920-3ED1D7AD067C%40nzbri.org.