nested loops
Dear forum,
i trying to build up my first 'drag and drop' experiment with the intention not to use any inline_scripting.
The idea is to learn my children how to type with ten fingers.
That's the task:
Level 1: 4 letters (fgjk)
Level 2: 6 letters (sdfjkl)
etc.
I managed to set up level 1. Now i could copy this and change the necessary for Level 2. But that's not effective considering that i will want to make much more levels.
So i thought about setting a nested loop in front of Level 1 that changes the target letters.
What's in Level 1?
A loop with the 4 letters (random, 5 repetitions)
Basically a sequence in the loop: stim of letter, response, feedback (individualized with our own sounds :) )
My question: How do i have to set the variables within the loop to manage that?
I thought about something like:
One Loop: var1 (fgjk), var2 (fgjkslsl)
The LevelLoop than actually draws from one of the variables in the other loop by using var1 or var2.
Cheers,
Stephan
Comments
Managed it myself :)
Is it possible to get the median response time instead of avg_rt? (RTs are usually not normally distributed)
I mean without inline_scripting.
Is it possible to get the median response time instead of avg_rt? (RTs are usually not normally distributed)
Not without any scripting at all. But you could include a Python expression directly in, say, a
feedbackitem. And then you could make use of theresponsesobject, like so:This does require a very minimal
inline_scriptwithimport numpy as np, though.And I saw that you were answering some questions on the forum. Thanks for that!
Cheers!
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!