History of AFNI updates  

|
March 20, 2003 05:05PM

Hi Francesca,

One option is if you know how many slices are in a volume, say 25,
for instance, you can add or subtract that number from the file
number to get an adjacent volume slice.

E.g. to replace I.123, use I.098 (assuming 25 slices in a volume)

To verify this, (or as another option), use file_tool (that's a
program I wrote to do some miscellaneous work with files). You
can use the option '-ge_header' to display GE header info, and
the required '-infiles file1 file2 ...' option.

So to check that I.098 is in the right spot (look for 'zoff'):

file_tool -ge_header -infiles I.098

To check a bunch:

file_tool -ge_header -infiles I.0[89]? I.10?

To just look at the offsets:

file_tool -ge_header -infiles I.0[89]? I.10? | grep zoff

To verify which files are in the list:

echo I.0[89]? I.10?

I hope this helps!

- Rick
Subject Author Posted

I-file headers

Francesca March 20, 2003 05:00PM

Re: I-file headers

bob cox March 20, 2003 05:04PM

Re: I-file headers

rick reynolds March 20, 2003 05:05PM

Re: I-file headers

Francesca March 20, 2003 05:10PM