[Rcicr-users] Programming RCP in PsychoPy (Nicholas Michalak)

Dotsch, R. (Ron) R.Dotsch at uu.nl
Fri May 27 15:32:24 CEST 2016


Hi all,

I uploaded an example PsychoPy script that will do this for you (including stimulus generation and analysis R scripts) at http://files.dotsch.org/RcicrPsychopyExample.zip. Stimuli are not presented randomly, but the position of the original and inverted stimuli are randomized every trial. It should not be too difficult to also adapt it to present the stimuli pairs in random order.

The script uses the mouse as input device, and the unselected image fades into the background, which is also pretty cool.

Hope this helps.

Ron

Ron Dotsch, PhD | Associate Professor | Utrecht University | Department of Psychology | Office: Langeveld H1.11, Heidelberglaan 1 | Phone: +31 30 253 4198 | Website: http://ron.dotsch.org/

From: <rcicr-users-bounces at lists.r-forge.r-project.org> on behalf of Erdem Ozan Meral <erdemozanmeral at gmail.com>
Date: Friday 27 May 2016 at 15:12
To: "rcicr-users at lists.r-forge.r-project.org" <rcicr-users at lists.r-forge.r-project.org>
Subject: Re: [Rcicr-users] Programming RCP in PsychoPy (Nicholas Michalak)

Hi Nicholas Michalak,

I had the same problem when I was trying to create the experiment in PsychoPy. I couldn't actually completely figure out how to do this, but I tried something different. I know that this is not what you are intending to do, and you probably thought of this already but what I did was to assign locations to pairings before the experiment. For half of the pairs the original was on the left, and the inv was on the right, for the other half I did the reverse. I entered the locations in the excel file that I feed to the PsychoPy. Since PsychoPy was selecting trials in a random order without replacement, the participants did not see one type of stimulus in the same location for all the trials.

Again, I know that this is not exactly what you intended to do, but this is the closest that I could come up with in a short time. If you could find a better solution I would love to hear that too! I couldn't find a way to do this in PsychoPy's google groups as well.

It would look like this if you had four pairs in the method that I just mentioned.

oriimage

invimage

locationori

locationinv

image1.jpg

image1_inv.jpg

[-0.5,0]

[0.5,0]

image2.jpg

image2_inv.jpg

[-0.5,0]

[0.5,0]

image3.jpg

image3_inv.jpg

[0.5,0]

[-0.5,0]

image4.jpg

image4_inv.jpg

[0.5,0]

[-0.5,0]



Best

Erdem Ozan Meral
Boğaziçi University
Department of Psychology
Research & Teaching Assistant
www.psychology.boun.edu.tr<http://www.psychology.boun.edu.tr/>


On Fri, May 27, 2016 at 1:00 PM, <rcicr-users-request at lists.r-forge.r-project.org<mailto:rcicr-users-request at lists.r-forge.r-project.org>> wrote:
Send Rcicr-users mailing list submissions to
        rcicr-users at lists.r-forge.r-project.org<mailto:rcicr-users at lists.r-forge.r-project.org>

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcicr-users

or, via email, send a message with subject or body 'help' to
        rcicr-users-request at lists.r-forge.r-project.org<mailto:rcicr-users-request at lists.r-forge.r-project.org>

You can reach the person managing the list at
        rcicr-users-owner at lists.r-forge.r-project.org<mailto:rcicr-users-owner at lists.r-forge.r-project.org>

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Rcicr-users digest..."


Today's Topics:

   1. Programming RCP in PsychoPy (Nicholas Michalak)


----------------------------------------------------------------------

Message: 1
Date: Thu, 26 May 2016 13:23:36 -0400
From: Nicholas Michalak <nickmm at umich.edu<mailto:nickmm at umich.edu>>
To: "rcicr-users at lists.r-forge.r-project.org<mailto:rcicr-users at lists.r-forge.r-project.org>"
        <rcicr-users at lists.r-forge.r-project.org<mailto:rcicr-users at lists.r-forge.r-project.org>>
Subject: [Rcicr-users] Programming RCP in PsychoPy
Message-ID:
        <CAByP83j=ePnHH6COxh0h3P_FvDvRz2Bjtu7Kqt-T_Bx_9AF9xw at mail.gmail.com<mailto:ePnHH6COxh0h3P_FvDvRz2Bjtu7Kqt-T_Bx_9AF9xw at mail.gmail.com>>
Content-Type: text/plain; charset="utf-8"

Hi all

I've successfully programmed an RCP in Medialab, but I'm trying to
translate to PsychoPy in Python.

Before I ask my question, is there a rcicr thread on programming an RCP
experiment in PsychoPy?

If not, I'm having trouble presenting the stimuli pairs (i.e., ori and
inv) in such a way that participants see each pair in random order (without
replacement), where the images in a pair are randomly presented on the left
or the right of the screen.

So if I have 400 pairs and two sides of the screen, I'd want PsychoPy to
draw from the pairs randomly without replacement and draw within the pairs
randomly without replacement: present a random stimuli from a random pair
on the left and place the remaining stimuli from that pair on the right.

I welcome any solutions--thank you!

Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcicr-users/attachments/20160526/17888b5b/attachment-0001.html>

------------------------------

_______________________________________________
Rcicr-users mailing list
Rcicr-users at lists.r-forge.r-project.org<mailto:Rcicr-users at lists.r-forge.r-project.org>
http://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcicr-users


End of Rcicr-users Digest, Vol 9, Issue 4
*****************************************



--
Erdem Ozan Meral
Boğaziçi University
Department of Psychology
Research & Teaching Assistant
www.psychology.boun.edu.tr<http://www.psychology.boun.edu.tr/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcicr-users/attachments/20160527/85642203/attachment-0001.html>


More information about the Rcicr-users mailing list