fit_xsur - 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) = a*t*exp(-b*t)*b^2
, where a is the integral of response function from zero to infinity.
Usage: fit_xsur [Options] inputfile outputfile [parfile]
     Constrain parameter a to specified value; fitted by default.
     Minimum value for parameter a; by default 0.5.
     Maximum value for parameter a; 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: convsurg, convexpf, sim_av, fit_suri
Keywords: TAC, curve fitting, convolution