fit_exp - tpcclib 0.8.0 © 2023 by Turku PET Centre

Non-linear fitting of the sum of 1-3 exponential functions to PET plasma and
tissue time-activity curves (TACs).
  f(x) = p1*exp(p2*x) + p3*exp(p4*x) + p5*exp(p6*x)
Usage: fit_exp [Options] tacfile fitfile
 -3[e] | -2[e] | -1[e]
     Fit to sum of three (default), two, or single exponential function.
     p1, p3 and p5 are constrained to values >= 0.
     p2, p4 and p6 are constrained to values <= 0.
 -starttime=<<Time (min)>|Peak>
     Set the sample time from where fitting is started (0 by default),
     or 'peak' to start fitting from common peak time.
 -endtime=<Time (min)>
     Set the sample time where fitting is stopped (last sample by default).
     Fitted and measured TACs are plotted in specified SVG file.
     Names for fit file and fitted TAC file are set automatically
     All weights are set to 1.0 (no weighting); by default, weights in
     data file are used, if available.
     Weight by sampling interval.
 -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.
Function parameters are written in fit (2) or result (3) format,
depending on filename extension (.fit or .res).
See also: fit_fexp, fit_dexp, llsqe3, fit_ratf, fit2dat, extrapol, tacln
Keywords: TAC, curve fitting, input, simulation, extrapolation