tesplit
From VoxBoWiki
tesplit allows you to split a 4D file in various ways. If the file is a VoxBo tes file, you can later rejoin it using tesjoin. Here's the help:
VoxBo tesplit (v1.8.5pre8/May 6 2010)
tesplit - 4D data file splitting routine for VoxBo.
usage: tesplit -h -i[4D data file name] -o[output stem name] -r -e[range]
-d[divisor] -b[bins] -v
flags:
-h Print usage information. Optional.
-i <4D data file> Specify the input 4D data file. Required.
-o <output stem name> Specify the output stem file name. Optional.
Default output stem file name is the first
part of the input 4D data file name.
NOTE: This option is overridden by -f.
-r If used, then remove the input file. Optional.
Default is not to remove the input file.
-e <range> Extraction range. Example: -e 23-56
NOTE: Slices are indexed beginning with 0.
-d <divisor> Split the 4D data file by divisor. The final
output file may have fewer time series than divisor.
-b <bins> Each "bin" gets a time series until the time
series are exhausted. Using "-b 2" results
in an even/odd split, resulting in 2 output files.
NOTE: At least one of -e, -d, and -b is required.
-f <output directory> Save the output files in this directory, as
opposed to the current directory. Optional.
NOTE: If the output directory does not exist,
it will be created and it will be a sub-directory
of the directory containing the input 4D data file.
NOTE: This option overrides -o.
-v Global VoxBo version number. Optional.
NOTE: Previously split files are not allowed to
be split until they are joined.
