fit_xexp - tpcclib 0.8.0 © 2023 by Turku PET Centre

Non-linear fitting of the parameters of response function, convolved with
input TAC, to reproduce given output TAC:
  output(t) = input(t) (x) h(t)
Response function is:
  h(t) = a1*exp(-b1*t) + a2*exp(-b2*t)
 
Usage: fit_xexp [Options] inputfile outputfile [parfile]
 
Options:
 -a=<value>
     Constrain h(t) integral (AUC) from zero to infinity (a1/b1 + a2/b2)
     to specified value; fitted by default.
 -amin=<value>
     Minimum value for AUC; by default 0.1.
 -amax=<value>
     Maximum value for AUC; by default 1.0.
 -w1
     All weights are set to 1.0 (no weighting); by default, weights in
     output data file are used, if available.
 -wf
     Weight by output TAC sampling interval.
 -svg=<Filename>
     Fitted and measured TACs are plotted in specified SVG file.
 -i=<Interval>
     Sample time interval (sec) in convolution; by default the shortest
     interval in the input data; too long interval as compared to b leads
     to bias.
 -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.
 
If TAC files contain more than one TAC, only the first is used.
 
See also: convexpf, sim_av
 
Keywords: TAC, curve fitting, convolution