AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
Jim Bjork
May 10, 2004 03:43PM
Hello,

I used Excel spreadsheet logical operations to create a columnar matrix (let's call it "behavior.txt". In this matrix, the first column is not to be considered, but each subsequent column is an event class, where a "1" indicates an event occurred in the experiment as one travels thru the time series down the column. I would like to model these behavioral data.

Example here:

F 0 0 0 0 0 0 0 0
F 0 0 0 0 0 0 0 0
F 0 0 0 0 0 0 0 0
a 0 0 0 0 0 0 0 0
a 0 0 0 0 0 0 0 0
a 0 0 0 0 0 0 0 0
+D 0 0 0 0 0 0 0 0
+D 0 0 0 0 0 0 0 0
+D 0 0 0 0 1 0 0 0
c 0 0 0 0 0 0 0 0
c 0 0 0 0 0 0 0 0
c 0 0 0 0 0 0 0 0
j 0 0 0 0 0 0 0 0
j 0 0 0 0 0 0 0 0
j 0 0 0 0 0 0 0 0
+I 0 0 0 0 0 0 0 0
+I 0 0 0 0 0 0 0 0
+I 0 0 1 0 0 0 0 0
+H 0 0 0 0 0 0 0 0
+H 0 0 0 0 0 0 0 0
+H 0 0 0 0 0 0 0 0
+D 0 0 0 0 0 0 0 0
+D 0 0 0 0 0 0 0 0
+D 0 0 0 0 1 0 0 0
etc...


however, when I tried to set up a script to read the columns [1]-[7] in to waver, (since [0] is the character column from which the subsequent columns had been calculated)as follows:


waver -GAM -dt 2.0 -input 'behavior.txt[1]' > hits
waver -GAM -dt 2.0 -input 'behavior.txt[2]' > misses

iI get illegal input errors, even after I rename the file to a .1D file, and whether I used single quotes, double quotes or no quotes.

The waver -help tells me I could specify columns. Is the fact that the first column (column [0] in this file) is text screwing things up? I would really hate to go in and edit out the first column of all 540 points in the time series for several dozen subjects! How can I get waver to read down each of columns [1] thru [7] to get me the idealized time series I need?

Jim
Subject Author Posted

column-specific inputs for waver

Jim Bjork May 10, 2004 03:43PM

Re: column-specific inputs for waver

Gang Chen May 11, 2004 10:45AM

Re: column-specific inputs for waver

Robert Cox May 11, 2004 11:21AM