fit_bpr - tpcclib 0.7.9 © 2022 by Turku PET Centre
Non-linear fitting of a function to sampled blood-to-plasma ratio data.
Usage: fit_bpr [Options] datafile fitfile
Options:
-model=<igv|hillb|ihillb>
Select the function; default is IGV.
-delay[=<time>]
Fit also delay time, or, set delay time (0 by default).
-bl=<baseline>
Constrain baseline level to specified value; fitted by default.
-w1 All weights are set to 1.0 (no weighting); by default, weights in
data file are used, if available.
-wf
Weight by sampling interval.
-fast or -safe
Speed up the fitting but increase the chance of failure, or
increase the reliability at the cost of computing time.
-min=<ss|abs>
Sum-of-squares (SS) is minimized by default, but optionally
sum of absolute deviations can be selected.
-svg=<Filename>
Fitted and measured TACs are plotted in specified SVG file.
-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.
Datafile must contain at least 2 columns, sample times and ratios;
DFT file (1) can include also weights.
Program writes the fit start and end times, nr of points, WSS/n,
and parameters of the fitted function to the FIT file (2).
Example:
fit_bpr -model=igv -svg=ia765bprat.svg ia765bp.rat ia765bprat.fit
References:
1. http://www.turkupetcentre.net/petanalysis/format_tpc_dft.html
2. http://www.turkupetcentre.net/petanalysis/format_tpc_fit.html
See also: fit2dat, avgfract, b2plasma, bpr2cpr, tacinv, taccat, tacblend
Keywords: curve fitting, input, blood, plasma, modelling, simulation