|
TPCCLIB
|
Calibrate reconstructed ECAT 931 image from counts to kBq/mL using specific file containing calibration coefficients. More...
Go to the source code of this file.
Functions | |
| int | selectEcat931Calibrationfile (char *foldername, struct tm *stm, char *fname, int verbose) |
| int | readEcat931Calibrationfile (char *fname, double *coef, int verbose) |
Calibrate reconstructed ECAT 931 image from counts to kBq/mL using specific file containing calibration coefficients.
Updated cal4img version 1.3 (1997-09-14) which could only be compiled and run in Sun UNIX workstations.
Definition in file ecalibr.c.
| int readEcat931Calibrationfile | ( | char * | fname, |
| double * | coef, | ||
| int | verbose ) |
Read ECAT 931 calibration coefficients from specific file.
| fname | Filename which contains calibration factors for each image plane |
| coef | Pointer to double array of size 15, into which calibration coefficients are written. |
| verbose | Verbose level; if zero, then nothing is printed to stderr or stdout |
Definition at line 453 of file ecalibr.c.
| int selectEcat931Calibrationfile | ( | char * | foldername, |
| struct tm * | stm, | ||
| char * | fname, | ||
| int | verbose ) |
Select correct calibration file from given folder.
| foldername | Folder where calibration files are located |
| stm | Pointer to scan start time; calibration file is selected based on it. |
| fname | Pointer to allocated string where filename will be written |
| verbose | Verbose level; if zero, then nothing is printed to stderr or stdout |
Definition at line 378 of file ecalibr.c.