7/2/2004 SSCC/NIMH 19
1D files as data sets
¥Most 3dSomething command line programs can read 1D instead of volumetric data
РThe "spatial" direction is down the columns (vertical).
РThe default is that across the rows (horizontal) is a "bucket" dimension.
ÐThe new environment variable AFNI_1D_TIME, if set to YES, will cause the horizontal direction to be the time axis (with TR=1).
Ð
¥This makes it possible to input .1D files to programs that process 3D+time datasets
ÐSome files need to be transposed first -- so that the time axis is horizontal rather than vertical. For example, assume fred.1D is a time series stored in a column vector.
Ð
Р    1dtranspose fred.1D  fred_q.1D
Р    3dFourier -prefix fred_filt_q -highpass 0.1 -retrend fred_q.1D
Р    1dtranspose fred_filt_q.1D   fred_filt.1D
Р    rm -f fred_q.1D fred_file_q.1D