User Tools

Site Tools


biac:analysis:roi_et

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
biac:analysis:roi_et [2011/04/25 19:48] – [Calculate Eyetracking Hits] pettybiac:analysis:roi_et [2011/04/25 19:57] – [Calculate Eyetracking Hits] petty
Line 268: Line 268:
  
 <code>perl merge_eyetracking.pl --eyetracking subj_12345_run1.preproc.wks --behavioral merged-subj12345_run1.xml --output subj1234_run1_roiHit.xml --type raw</code> <code>perl merge_eyetracking.pl --eyetracking subj_12345_run1.preproc.wks --behavioral merged-subj12345_run1.xml --output subj1234_run1_roiHit.xml --type raw</code>
 +
 +The processing script will add elements to the behavioral XML that represent hits and samples of valid eyetracking points from within your duration, this instance has 120 valid sample, with more than 50% inside the ROI:
 +
 +<HTML>
 +  <event type="image" units="sec">
 +    <onset>34.5</onset>
 +    <duration>4</duration>
 +    <value name="imgName">37M_CA_C.bmp</value>
 +    <value name="regType">positive</value>
 +    <value name="trialType">FACE</value>
 +    <value name="response">1</value>
 +    <value name="RT">1026</value>
 +    <roi type="circle">
 +      <name>face</name>
 +      <center>515 443</center>
 +      <size>446 474</size>
 +      <units>pixels</units>
 +      <value name="hits">62</value>
 +      <value name="hit_percent">51.67</value>
 +    </roi>
 +    <value name="samples">120</value>
 +  </event>
 + </HTML>
 +
 +At this point you could use these additional XML elements when extracting your onsets for FSL, etc by including some hit criteria in your xcede_extract_schedules.pl queries.
biac/analysis/roi_et.txt · Last modified: 2024/06/21 15:44 by 127.0.0.1