| Author |
Topic  |
|
tankersley
BIAC Alum
   
USA
143 Posts |
Posted - Jun 29 2006 : 1:25:11 PM
|
Okay; The problem was that I have
ptsbefore = 4 ptsafter = 8
SO I'll add a time point to the template. One more question: Does this mean that all the files batches successfully created for individual conditions only have the first 12 TRs of data?
Thanks,
Dharol |
 |
|
|
syam.gadde
BIAC Staff
    
USA
421 Posts |
Posted - Jun 29 2006 : 1:48:07 PM
|
The epoch averages for ptsbefore=4 and ptsafter=8 would have 13 time points. 8 + 1 + 4 (includes the timepoint of the event itself). The template is only used after creating the averages.
|
 |
|
|
tankersley
BIAC Alum
   
USA
143 Posts |
Posted - Jun 29 2006 : 2:18:19 PM
|
Okay; I specified 13 TRs in ptsbefore and ptsafter, so I'll add a timepoint to the template.
One remaining question: Why can batches successfully create data files for individual conditions if the template is 12 but ptsbefore/after are 13? Does it just not process the 13th data point?
Thanks so much!
Dharol |
 |
|
|
syam.gadde
BIAC Staff
    
USA
421 Posts |
Posted - Jun 29 2006 : 3:12:24 PM
|
quote: Originally posted by tankersley One remaining question: Why can batches successfully create data files for individual conditions if the template is 12 but ptsbefore/after are 13? Does it just not process the 13th data point?
What do you mean by "successful"?
Epoch averages and related data (_avg, _std, _n, etc.) do not require the template, so those data will be successfully generated regardless of the template. The template is only required to create _cor and _tmap files. If the template has the wrong number of timepoints, you shouldn't get any _cor or _tmap files, either for individual conditions or for comparisons. Do you get _cor or _tmap files for individual conditions when the template has the wrong number of timepoints? |
 |
|
|
dvsmith
Advanced Member
    
USA
218 Posts |
Posted - Oct 29 2007 : 4:43:38 PM
|
Hi,
I'm new to event_stats and I was wondering if anyone has a script for converting 3-column EV files into the .xml files that event_stats needs. I see there are several other functions for taking standard output from Presentation, Cigal, and E-Prime and generating the .xml files.
Thanks, David |
 |
|
|
petty
BIAC Staff
    
USA
453 Posts |
Posted - Oct 29 2007 : 4:53:41 PM
|
| *** sorry i totally misread your question *** |
Edited by - petty on Oct 29 2007 4:54:54 PM |
 |
|
|
syam.gadde
BIAC Staff
    
USA
421 Posts |
Posted - Oct 29 2007 : 5:07:35 PM
|
We have ways to go from the XML to the 3-column timing files, but no easy way to go directly from the 3-column to XML. I'm guessing you have multiple 3-column timing files, each representing one condition. If you were able to get this data into a tab-separated or comma-separated file that looked something like this:
NAME,START,DURATION,WEIGHT fixation,0,10,1 face,10,2.5,1 face,15,2.5,1 face,20,2.5,1 ask,25,2.5,1 probe,30,2.5,1
etc.
then you could use eventstable2xml (run it with the --help option to get a help message).
It actually wouldn't be too hard to put together a script that did this automatically, I suppose. I'll see what I can do.
|
 |
|
|
dvsmith
Advanced Member
    
USA
218 Posts |
Posted - Oct 29 2007 : 5:25:03 PM
|
Thanks, Syam. A script would be useful for anyone using PsychToolbox (or something else with non-standard output) for stimulus presentation since the output files aren't in a standard format. The 3 column EV files are, however, standardized for almost everyone.
I'll see if I can convert my 3-column files into the format you suggest.
-David
|
 |
|
|
syam.gadde
BIAC Staff
    
USA
421 Posts |
Posted - Oct 30 2007 : 1:48:20 PM
|
| A script called "3column2xml" is now available on golgi. Use it with the --help option to get a help message. |
 |
|
Topic  |
|