Main Page | Directories | File List | Globals | Related Pages

libcpt

Readme

2004-12-09
Turku PET Centre

LibCPT is distributed under the GNU Lesser General Public Licence
http://www.turkupetcentre.net/programs/lgpl-license.html
More information on open source licences: http://www.opensource.org

Description
------------------------

The LibCPT library is a collection of functions for processing PET
time-activity data in CPT format. It is dependent on libPET.

List of files
------------------------

include/     -	Includes all the .h files for the .c files

Makefile     -	The makefile.

history      -  Change history

Doxygen      -  Configuration file for Doxygen

README       -  This file

 .C files **

cpt.c	     -	Reading and writing CPT files.

Installation
------------------------

This library has been tested to compile under Solaris, SunOS and DOS with gcc and djgpp.
To compile, just type 'make'. No modifications should be necessary to the Makefile.

Using the library
------------------------

The program that uses the library should include the .h file it needs
eg. #include <cpt.h>
To compile, link the library with -lcpt
If the library and/or the .h files are outside normal compiler search path,
add these lines when compiling
-L<path to="" library="">  eg. -L/usr/local/lib
-I<path to .h files> eg. -I/usr/local/include

Extending the library
------------------------

To add new files to the library, first copy the .c file(s) to the libcpt directory
and the .h file(s) to the libcpt/include directory.
Modify the C file if necessary.
Add the .c file(s) to the Makefile's CFILES line.
Then just recompile and copy the libpet.a to its place.
PLEASE update the README and HISTORY file to include the new .c file !

Generated on Thu Dec 9 21:11:31 2004 for libCPT by  doxygen 1.3.9.1