TPCCLIB
|
IO functions for IF TAC data. More...
Go to the source code of this file.
Macros | |
#define | MAX_IF_LINE_LEN 512 |
Functions | |
int | ifWrite (DFT *dft, char *filename) |
int | ifRead (char *filename, DFT *dft) |
IO functions for IF TAC data.
Definition in file if.c.
#define MAX_IF_LINE_LEN 512 |
int ifRead | ( | char * | filename, |
DFT * | dft ) |
Read IF file into DFT data structure, metabolite corrected plasma as TAC #1 and whole blood as TAC #2. Any previous content of DFT is deleted.
filename | Name of IDWC file to be read |
dft | Pointer to DFT data where to regional TAC data is read |
Definition at line 78 of file if.c.
Referenced by dftRead().
int ifWrite | ( | DFT * | dft, |
char * | filename ) |
Write metabolite corrected plasma TAC and blood TAC into IF file format. If file exists, a backup file (+BACKUP_EXTENSION) is written.
dft | Pointer to DFT data that will be written in IF format: first TAC must be the metabolite corrected plasma, and the 2nd TAC must be the whole blood TAC. |
filename | Name of IF file to be written; also "stdout" is accepted |
Definition at line 18 of file if.c.