|
TPCCLIB
|
Simulation of [O-15]O2 tissue kinetics. More...
#include "tpcclibConfig.h"#include <stdio.h>#include <stdlib.h>#include <math.h>#include <time.h>#include <string.h>#include "tpccm.h"Go to the source code of this file.
Functions | |
| int | simOxygen (double *t, double *ca1, double *ca2, double *ca1i, double *ca2i, const int n, const double k1a, const double k2a, const double km, const double k1b, const double k2b, const double vb, const double fa, const int vvm, double *scpet, double *sct1, double *sct2, double *sctab, double *sctvb1, double *sctvb2, double *scvb1, double *scvb2, const int verbose) |
Simulation of [O-15]O2 tissue kinetics.
Definition in file simoxygen.c.
| int simOxygen | ( | double * | t, |
| double * | ca1, | ||
| double * | ca2, | ||
| double * | ca1i, | ||
| double * | ca2i, | ||
| const int | n, | ||
| const double | k1a, | ||
| const double | k2a, | ||
| const double | km, | ||
| const double | k1b, | ||
| const double | k2b, | ||
| const double | vb, | ||
| const double | fa, | ||
| const int | vvm, | ||
| double * | scpet, | ||
| double * | sct1, | ||
| double * | sct2, | ||
| double * | sctab, | ||
| double * | sctvb1, | ||
| double * | sctvb2, | ||
| double * | scvb1, | ||
| double * | scvb2, | ||
| const int | verbose ) |
Simulate tissue and venous blood TACs using dual-input compartment model for [O-15]O2 (one tissue compartment for [O-15]O2, and another tissue compartment for its metabolite [O-15]H2O). Based on Mintun et al. J Nucl Med. 1984;25(2):177-187.
The units of rate constants must be related to the time unit of the data; 1/min and min, or 1/sec and sec.
| t | Array of sample times. |
| ca1 | Array of arterial blood activities of tracer1 ([O-15]O2). |
| ca2 | Array of arterial blood activities of tracer2 ([O-15]H2O). |
| ca1i | Array of AUC 0-t of arterial tracer1 activities; NULL if not available. |
| ca2i | Array of AUC 0-t of arterial tracer2 activities; NULL if not available. |
| n | Nr of samples (array lengths). |
| k1a | Rate constant of the model for tracer1 (from blood to C1). |
| k2a | Rate constant of the model for tracer1 (from C1 to blood). |
| km | Rate constant of the model (from tracer1 in C1 to tracer2 in C2). |
| k1b | Rate constant of the model for tracer2 (from blood to C2). |
| k2b | Rate constant of the model for tracer2 (from C2 to blood). |
| vb | Vascular volume fraction [0-1]. |
| fa | Arterial fraction of vascular volume [0-1]. |
| vvm | Vascular volume modelling: set to 0 to use Cpet = Vb*Cb + (1-Vb)*Ct, or set to 1 to use Cpet = Vb*Cb + Ct. |
| scpet | Pointer for TTAC array to be simulated; allocate in the calling program or set to NULL if not needed. |
| sct1 | Simulated TAC of tracer1 in tissue; allocate in the calling program or set to NULL if not needed. |
| sct2 | Simulated TAC of tracer2 in tissue; allocate in the calling program or set to NULL if not needed. |
| sctab | Total arterial contribution to PET TTAC; allocate in the calling program or set to NULL if not needed. |
| sctvb1 | Venous tracer1 contribution to PET TAC; allocate in the calling program or set to NULL if not needed. |
| sctvb2 | Venous tarcer1 contribution to PET TAC; allocate in the calling program or set to NULL if not needed. |
| scvb1 | Venous BTAC of tracer1; allocate in the calling program or set to NULL if not needed. |
| scvb2 | Venous BTAC of tracer2; allocate in the calling program or set to NULL if not needed. |
| verbose | Verbose level; if zero, then nothing is printed into stdout or stderr. |
Definition at line 29 of file simoxygen.c.