tacadd - tpcclib 0.7.3 © 2019 by Turku PET Centre

Insert one or more TACs from TAC file 2 into another, optionally new,
TAC file 1. Files must have the same number of samples (time frames).
If the TAC number or name is not specified, then all TACs in file2 are added.
If file1 does not exist, it will be created.
Alternatively, all TACs from several files can be added to file1.
 
Usage: tacadd [options] file1 file2 [tacname or tacnumber]
or
Usage: tacadd [options] file1 file2 [file3 [file4 ...]]
 
Options:
 -sn
     Copied region names are changed to contain the study number.
 -ovr
     Existing file1 is overwritten.
 --force
     Program does not mind if the time or calibration units do not match.
 -move
     Selected TAC(s) are removed from file2.
 -h, --help
     Display usage information on standard output and exit.
 -v, --version
     Display version and compile information on standard output and exit.
 -d[n], --debug[=n], --verbose[=n]
     Set the level (n) of debugging messages and listings.
 -q, --quiet
     Suppress displaying normal results on standard output.
 -s, --silent
     Suppress displaying anything except errors.
 
Example 1: Add TACs with name 'striatum' from file a123_12.dat into
file a123_06.dat
     tacadd a123_06.dat a123_12.dat striatum
 
Example 2a: Combine specified TAC files into a new file
     tacadd combined.tac s6789*.tac
 
Example 2b: Combine specified TAC files into a new file
using for loop in MS Windows command prompt window
     for %g in (s6789*.tac) do tacadd combined.tac %g
 
Example 2c: Combine all putamen TACs from TAC files into a new file,
storing study number as region name for each TAC,
using for loop in MS Windows command prompt window
     for %g in (a*.tac) do tacadd -sn putamen.tac %g put
 
See also: taclist, tacdel, tacsplit, tacsort, tacblend, tacunit, tac2svg
 
Keywords: TAC, tool