taccalc - tpcclib 0.8.0 © 2023 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
Options:
--force
Program does not mind if the time or calibration units
cannot be converted to match.
-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 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, taccbv, fit2dat, tacinv
Keywords: TAC, modelling, simulation, tool