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  

|
August 20, 2009 08:01PM
I was trying to use column indexing with the -stim_times option in 3Ddeconvolve and worked out that this option isn't available. Having searched the message boards I've seen previous advice from Bob Cox on using 1dCat:

"If in fact you have a fixed-number-of-columns input file from which you want to extract a single column, then you can do something like

1dcat '../order4_cat_imag_stim_times.1D[3]' > oc3.1D

and then use

-stim_times 4 oc3.1D 'TENT(0,24,9)'

A little clumsier, since you'll have to do the extraction 7 times, but that's the way it is.

Note that 1dcat will NOT work on variable-number-of-columns files."

I've tried using 1dCat to parse my multiple column 1D file, but all I get is a single line of text. I suspect that it is due to the note that Bob provides at the bottom of his advice, about variable-number-of-columns files.

I've attached my 1D file here but I wondered if you can provide advice on how it needs to be changed to be compatible with 1dCat. Alternatively, would a use of Cat be more straightforward (I've tried googling this without luck).

Cheers
Rob

Subject Author Posted

1dCat use

Rob Hester August 20, 2009 08:01PM

Re: 1dCat use

rick reynolds August 20, 2009 09:27PM

Re: 1dCat use

Rob Hester August 20, 2009 09:39PM

Re: 1dCat use

rick reynolds August 20, 2009 10:37PM

Re: 1dCat use

Rob Hester August 21, 2009 02:14AM

Re: 1dCat use

Rob Hester August 21, 2009 03:17AM

Re: 1dCat use

Colm Connolly August 21, 2009 05:36AM

Re: 1dCat use

Colm Connolly August 21, 2009 05:38AM

Re: 1dCat use

Rob Hester August 21, 2009 07:02AM

Re: 1dCat use

Rob Hester August 26, 2009 12:42AM