stimuli presentation order logging

PennController for IBEX Forums Support stimuli presentation order logging

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #8216
    Mysliik
    Participant

    Hi, is there any easy way how to log the stimuli presentation order? In my experiment, I use stimuli order randomization – using Sequence(rshuffle(X,Y) – and it would be great to have logged the order directly in the data as a separate column. Thanks, Jan

    #8225
    Jeremy
    Keymaster

    Hi,

    All PennController results lines include an EventTime column, and by default all PennController trials report a results line for when the trial started: you can use the value of the EventTime column from those lines to sort the trial by running order (note that the lines int the results file should already be sorted using the values from that column)

    Another option would be to do something like that:

    Header(
      newVar("runningOrder", 0).global().set(v=>v+1)
    )
    .log("runningOrder", getVar("runningOrder"))

    Jeremy

    #8240
    Mysliik
    Participant

    Hi, cool, many thanks! Jan

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.