Example on handling online detector ("blood pump") data

Following example shows how  on-line detector ("blood pump") data is first calibrated and corrected for decay, then transformed into plasma curve and finally combined with TAC measured from manual samples. You can make a batch file similar to the one below (name it for example blood2plasma.bat).
Program dft2ps is just for plotting the curves in different phases.
Program blo2kbq calibrates and corrects the data for decay. With option -m you can define the result file to have frame times in minutes instead of seconds.
Program b2plasma needs the hematocrit value to transform blood data into plasma data.
Sometimes the online detector is used only in the beginning of the PET study and then manual sampling is used for the rest of the study. Program dftcat combines these two (beginning + end) curves into one. In this case, make sure you have the same time unit in both files (use option -m in program blo2kbq to get times in minutes). Manually sampled plasma data is usually already calibrated and decay corrected so you can use it as such.

#
blo2kbq_3_3_1 i00061.alg -iC -dC -cpump_cal.dat -m
dft2ps_0_4_7 i00061.kbq i00061decay.ps

b2plasma_1_5_0 norbc i00061.kbq 0.38 i00061plasma.kbq
dft2ps_0_4_7 i00061plasma.kbq i00061plasma.ps

dftcat_1_2_0 i00061plasma.kbq I00061AP.kbq I00061cat.kbq
dft2ps_0_4_7 I00061cat.kbq I00061cat.ps
#

Type "blood2plasma" on command prompt to run the bach file.