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]
     Constrain h(t) integral (AUC) from zero to infinity (a1/b1 + a2/b2)
     to specified value; fitted by default.
     Minimum value for AUC; by default 0.1.
     Maximum value for AUC; by default 1.0.
     All weights are set to 1.0 (no weighting); by default, weights in
     output data file are used, if available.
     Weight by output TAC sampling interval.
     Fitted and measured TACs are plotted in specified SVG file.
     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