tacunit - tpcclib 0.7.3 © 2019 by Turku PET Centre

Get the data units of TAC files, or optionally set or convert the units.
 
Usage: tacunit [options] filename(s)
 
Options:
 -xset=<unit>
     Set x (sample time) unit; x values are however not changed.
 -yset=<unit>
     Set y (concentration) unit; y values are however not changed.
 -xconv=<unit>
     Conversion of x (sample time) values to specified unit.
 -yconv=<unit>
     Conversion of y (concentration) values to specified unit.
 -x
     Print only the unit of x in stdout.
 -y
     Print only the unit of y in stdout.
 -density=<Density (g/mL)>
     Density is needed when converting per mass to per volume units.
 -units
     List available units and quit.
 -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: convert sample times to minutes and concentrations to kBq/mL
     tacunit -xconv=min -yconv=kBq/ml iea*.tac
 
Example 2: convert concentrations to the same units as in another file
           (in Linux/UNIX/OS X)
     unit=$( tacunit -y iea2285.tac )
     tacunit -yconv=$unit iea2285.bld
 
See also: taclist, tacmatch, taccalc, imgunit, tacframe, dftmax
 
Keywords: TAC, tool, unit, time