Skip to content

AFNI/NIfTI Server

Sections
Personal tools
You are here: Home » AFNI » Community » Message Board

History of AFNI updates   Suggested reading for beginners   Add yourself to the AFNI map!

Re: more waver problems

|
bob cox
December 03, 2002 07:04PM
OH. The 1D file format is very very simple. It assumes that the each line of the file has the same number of values stored as the first line. What happens when this assumption is violated, I'm not sure -- I'd have to read the code again (after many years).

If your columns are neatly aligned, then you could possibly use the Unix "colrm" utility. For example, if the numbers you need are all in the first 7 characters of each line, and in each such 7 character block is just one number, then the command
colrm 8 < q.1D
will strip off characters 8,9,... from each line, and output the result to stdout. So something like
waver -tstim `colrm 8 < q.1D` > qq.1D
might work for you.

Sorry for the problems. bob cox
Subject Author Posted

more waver problems

Sean Drummond December 03, 2002 02:04PM

Re: more waver problems

bob cox December 03, 2002 02:49PM

Re: more waver problems

Sean Drummond December 03, 2002 04:08PM

Re: more waver problems

bob cox December 03, 2002 04:20PM

Re: more waver problems

Sean Drummond December 03, 2002 06:55PM

Re: more waver problems

bob cox December 03, 2002 07:04PM

Re: more waver problems

Tom Ross December 04, 2002 11:32AM



Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
CAPTCHA
Message:

Powered by Plone

phorum.org

This site conforms to the following standards: