[Rcicr-users] Programming RCP in PsychoPy

Nicholas Michalak nickmm at umich.edu
Fri May 27 20:27:51 CEST 2016


Thank you everyone!

Nick

On Fri, May 27, 2016 at 10:12 AM, Erdem Ozan Meral <erdemozanmeral at gmail.com
> wrote:

> Hi Dr. Dotsch,
>
> Thank you very much for all your attention. I could download it now
> without a problem and it works perfectly!
>
> 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 5:03 PM, Dotsch, R. (Ron) <R.Dotsch at uu.nl> wrote:
>
>> Hi Erdem,
>>
>>
>>
>> My mistake. Please try the same link again.
>>
>>
>>
>> Best,
>>
>>
>>
>> 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:56
>>
>> *To: *"rcicr-users at lists.r-forge.r-project.org" <
>> rcicr-users at lists.r-forge.r-project.org>
>> *Subject: *[Rcicr-users] Programming RCP in PsychoPy
>>
>>
>>
>> Hi Dr. Dotsch,
>>
>>
>>
>> Thank you very, very much for the fast reply! I think that it will really
>> be helpful. However I could not get the file to open. It says that "the
>> requested file was not found on the server". I don't know if it's about
>> something that I am doing wrong. Sorry for the inconvenience.
>>
>>
>>
>> By the way I am very grateful for the help!
>>
>>
>>
>> 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 4:32 PM, <
>> 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
>>
>> 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
>>
>> You can reach the person managing the list at
>>         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. Re: Programming RCP in PsychoPy (Nicholas Michalak)
>>       (Erdem Ozan Meral)
>>    2. Re: Programming RCP in PsychoPy (Nicholas Michalak)
>>       (Dotsch, R. (Ron))
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Fri, 27 May 2016 16:12:46 +0300
>> From: Erdem Ozan Meral <erdemozanmeral at gmail.com>
>> To: rcicr-users at lists.r-forge.r-project.org
>> Subject: Re: [Rcicr-users] Programming RCP in PsychoPy (Nicholas
>>         Michalak)
>> Message-ID:
>>         <CAHSbz4bpc3vLjzjut6NatrRR2pTW8Q=
>> z8nWki3Xy7gDNUD7qQA at mail.gmail.com>
>> Content-Type: text/plain; charset="utf-8"
>>
>> 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> wrote:
>>
>> > Send Rcicr-users mailing list submissions to
>> >         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
>> >
>> > You can reach the person managing the list at
>> >         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>
>> > To: "rcicr-users at lists.r-forge.r-project.org"
>> >         <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>
>> > 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
>> > 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/e46181ae/attachment-0001.html
>> >
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Fri, 27 May 2016 13:32:24 +0000
>> From: "Dotsch, R. (Ron)" <R.Dotsch at uu.nl>
>> To: Erdem Ozan Meral <erdemozanmeral at gmail.com>,
>>         "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)
>> Message-ID: <AB389DB6-5ABF-45FD-AC6D-BAFDC3601E9C at uu.nl>
>> Content-Type: text/plain; charset="utf-8"
>>
>> 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.html
>> >
>>
>> ------------------------------
>>
>> _______________________________________________
>> Rcicr-users mailing list
>> 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 5
>> *****************************************
>>
>>
>>
>>
>>
>> --
>>
>> Erdem Ozan Meral
>>
>> Boğaziçi University
>>
>> Department of Psychology
>>
>> Research & Teaching Assistant
>>
>> *www.psychology.boun.edu.tr <http://www.psychology.boun.edu.tr/>*
>>
>
>
>
> --
> Erdem Ozan Meral
> Boğaziçi University
> Department of Psychology
> Research & Teaching Assistant
> *www.psychology.boun.edu.tr <http://www.psychology.boun.edu.tr/>*
>
> _______________________________________________
> Rcicr-users mailing list
> Rcicr-users at lists.r-forge.r-project.org
> http://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcicr-users
>
>


-- 
Nick Michalak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcicr-users/attachments/20160527/07b36097/attachment-0001.html>


More information about the Rcicr-users mailing list