TPCCLIB source code documentation


Tpcclib project is to develop and maintain command-line tools to processing and analyzing data collected in Turku PET Centre (TPC), University of Turku. We hope that some of tools may be useful also for other research centres working with positron emission tomography.

Source codes are stored in repository

TPCCLIB folders v1 and v2

The two folders, v1 and v2, contain different versions of C libraries, which are not dependent on each other. Both folders contain also source code for applications, which are mostly not dependent on the libraries in the other folder. However, testing routines of the applications requires that all applications can be found in the platforms search path.

Folder v1 contains the C library that has been developed from year 1991, and can be built with CMake cross-platform build environment in Linux, macOS, and MS Windows (with msys and mingw-w64). Library functions are not formally tested, but applications have at least some basic tests included, and since they are already used for a long time, they are generally working reliably.

Folder v2 contains rewritten versions of the C library functions and applications, including at least minimal testing for each library function and application. Currently the v2 library contains only small part of the functionalities of the v1 library, and therefore less applications has been added there.


This program library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

This program library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

See the GNU General Public License for more details.

Turku PET Centre hereby disclaims all copyright interest in the program library.

Juhani Knuuti
Director, Professor  
Turku PET Centre
Turku, Finland
GPL 3.0