responseframe problem when presenting pictures


Author
Message
Jens Bölte
Jens Bölte
Guru (9.6K reputation)Guru (9.6K reputation)Guru (9.6K reputation)Guru (9.6K reputation)Guru (9.6K reputation)Guru (9.6K reputation)Guru (9.6K reputation)Guru (9.6K reputation)Guru (9.6K reputation)
Group: Forum Members
Posts: 78, Visits: 60

Hello,


here is some code from the experiment I am programming at the moment.


<trial face.auf.neu.o>
/ stimulusframes = [10 = fixation.pic; 55 = maske; 56 = aufwaerm.neu.pic, aufwaerm.neu2.pic; 88 = mask1.pic, mask2.pic; 95 = maske; 96 = dot.pic]
/ validresponse = ("F", "J")
/ response = timeout(3000)
/ responseframe = 56
</trial>

<trial face.auf.neu>
/ stimulusframes = [10 = fixation.pic; 55 = maske; 56 = aufwaerm.neu.pic, aufwaerm.neu2.pic; 88 = mask1.pic, mask2.pic; 95 = maske; 96 = dot.pic]
/ validresponse = ("F", "J")
/ response = timeout(3000)
</trial>

The difference between these two trials is that I use the responseframe attribute in one trial while I do not use it in the other trial. However when running these trials, they behave completely different. The pictures in face.auf.neu.o are never masked while they are masked in face.auf.neu!


Well, I'd like to have the pictures masked. But given the rather late onset of the mask, it is likely that participants respond before mask onset, so I need (?, want to use) the repsonseframe attribute.


Best regards Jens





Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 108K

Please see the documentation for the /responseinterrupt attribute.


Jens Bölte
Jens Bölte
Guru (9.6K reputation)Guru (9.6K reputation)Guru (9.6K reputation)Guru (9.6K reputation)Guru (9.6K reputation)Guru (9.6K reputation)Guru (9.6K reputation)Guru (9.6K reputation)Guru (9.6K reputation)
Group: Forum Members
Posts: 78, Visits: 60

Hello,


thanks for pointing out the responseinterrupt attribute. Now the trial works in the manner I intended.


It could be perhaps helpful if the manual included a link from the responseframe attribute to the responseinterrupt attribute. Or at least, if the manual gave some indication how the repsonseframe attribute influences the continuation of the trial.


Best regards Jens






Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 108K

The /responseframe attribute does not directly influence the continuation of the trial. It specifies when to start polling for responses. By default polling only starts once *all* stims have been presented. That's covered in the docs.


/responseinterrupt specifies how a trial ought to behave once a response has occurred. By default, the trial will terminate immediately upon response. That's also covered in the docs.


So, in principle, both are unrelated and can be used independently of one another.


Regards,


~Dave


Jens Bölte
Jens Bölte
Guru (9.6K reputation)Guru (9.6K reputation)Guru (9.6K reputation)Guru (9.6K reputation)Guru (9.6K reputation)Guru (9.6K reputation)Guru (9.6K reputation)Guru (9.6K reputation)Guru (9.6K reputation)
Group: Forum Members
Posts: 78, Visits: 60

Hello,


you are right in quoting the descriptions of the two attributes.But I have perhaps a different conception of a manual than you have.


It is not only important that a program is properly described in a manual, but it is also important how easy it is to access the information. I had difficulties to access this information and therefore suggested to add it at an additional place in the manual. But this might be only my problem.


A manual is also for people who do not use a program everyday and need more advice than more experienced, at least in my opinion. ;-)


Best regards Jens












Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 108K

Oh -- my comment was not intended to say anything about whether something ought to or could be mentioned in some additional places in the docs or not. The comment was meant to clear up the meaning of the attributes and what they do. I was under the impression that there may still be some subtle misconception about that.


On the structure of the docs: I'm sure there is room for improvement. However, with a reasonably complex language, it's neither practical nor possible to include everything in every context where it may apply under certain circumstances.


#1: High-level information intended to convey general principles (the "programming model") and language structure are available in the "Introduction", "Tutorials" and "How to" sections. Of course, it isn't possible to include every minute detail or special case etc. therein -- that would defeat the purpose.


#2: The real heart of the technical documentation is the "Language
Reference" which lists and links all applicable attributes, properties
and functions for every element (e.g. the language reference page for
the <trial> element links to the /responseframe,
/responseinterrupt etc. attributes).


So here's how the docs are intended to be used: For basics refer to #1. Once one has developed an understanding of the foundational concepts outlined in #1, refer to #2 for the specifics. At some point (the more experienced you get), you'll find yourself almost exclusively consulting #2 and only occasionally going back to #1.


People will have very different preferences regarding what they would like to see linked from where, mentioned in certain contexts etc. depending on their personal, concrete needs. Unfortunately satisfying those different preferences all at once seems intractable (at least to me).


Hence, for those specific questions, e.g. this forum exists as an apt space to ask them. I or others will answer them and/or point to additional resources such as the applicable language constructs / their documentation.


Hope this clarifies,


~Dave


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search