taccalc - tpcclib 0.7.3 © 2019 by Turku PET Centre
Make arithmetic calculations with PET time-activity data.
Operations can be made between two TAC files or between one TAC file and
a constant value.
Usage: taccalc [options] file1 operation constant|file2 outputfile
Program does not mind if the time or calibration units
cannot be converted to match.
Display usage information on standard output and exit.
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.
Suppress displaying normal results on standard output.
Suppress displaying anything except errors.
Example 1: Add constant 2 to all activity concentrations in pet.dat
taccalc pet.dat + 2 sum.dat
Example 2: Subtract one TAC from all TACs in the first data file
taccalc cortex.dat - reference.dat bound.dat
The first TAC file can have one or more TACs. Second TAC file may
contain either only one TAC or equally many TACs as the first file
(if the TAC number is different, only the first TAC is used).
Data is interpolated, if necessary, to the times of the first file.
If the second file contains only one sample time (frame), the value
from that sample will be used for all the samples of the first file.
The following characters are accepted as operators: +, -, x, and :.
See also: tacunit, metabcor, dftsuv, dftratio, dftcbv, fit2dat, tacinv
Keywords: TAC, modelling, simulation, tool