TPCCLIB
|
Functions for calculation of basis functions for PET modelling. More...
#include "libtpcmodext.h"
Go to the source code of this file.
Functions | |
int | bf_srtm (double *t, double *cr, int n, int bfNr, double t3min, double t3max, DFT *bf) |
int | bfRadiowater (DFT *input, DFT *tissue, DFT *bf, int bfNr, double k2min, double k2max, char *status, int verbose) |
int | bfIrr2TCM (DFT *input, DFT *tissue, DFT *bf, int bfNr, double thetamin, double thetamax, char *status, int verbose) |
Functions for calculation of basis functions for PET modelling.
Definition in file bf_model.c.
int bf_srtm | ( | double * | t, |
double * | cr, | ||
int | n, | ||
int | bfNr, | ||
double | t3min, | ||
double | t3max, | ||
DFT * | bf ) |
Calculates set of basis functions for SRTM.
t | PET frame mid times. |
cr | Non-decay corrected Cr(t). |
n | Nr of PET frames. |
bfNr | Nr of basis functions to calculate. |
t3min | theta3 min. |
t3max | theta3 max. |
bf | data for basis functions is allocated and filled here. |
Definition at line 16 of file bf_model.c.
int bfIrr2TCM | ( | DFT * | input, |
DFT * | tissue, | ||
DFT * | bf, | ||
int | bfNr, | ||
double | thetamin, | ||
double | thetamax, | ||
char * | status, | ||
int | verbose ) |
Calculates set of basis functions for irreversible 2TCM.
input | Arterial PTAC (not modified). |
tissue | PET TTAC (not modified, just to get frame times). |
bf | Place for basis functions (initiated DFT struct, allocated and filled here). |
bfNr | Nr of basis functions to calculate. |
thetamin | Minimum of theta=k2+k3 (sec-1 or min-1, corresponding to TAC time units). |
thetamax | Maximum of theta=k2+k3 (sec-1 or min-1, corresponding to TAC time units). |
status | Pointer to a string (allocated for at least 64 chars) where error message or other execution status will be written; enter NULL, if not needed. |
verbose | Verbose level; if zero, then nothing is printed to stderr or stdout. |
Definition at line 217 of file bf_model.c.
int bfRadiowater | ( | DFT * | input, |
DFT * | tissue, | ||
DFT * | bf, | ||
int | bfNr, | ||
double | k2min, | ||
double | k2max, | ||
char * | status, | ||
int | verbose ) |
Calculates set of basis functions for generic radiowater model.
input | Arterial blood input TAC (not modified). |
tissue | PET TACs (not modified, just to get frame times). |
bf | Place for basis functions (initiated DFT struct, allocated and filled here). |
bfNr | Nr of basis functions to calculate. |
k2min | Minimum of k2 (sec-1 or min-1, corresponding to TAC time units). |
k2max | Maximum of k2 (sec-1 or min-1, corresponding to TAC time units). |
status | Pointer to a string (allocated for at least 64 chars) where error message or other execution status will be written; enter NULL, if not needed. |
verbose | Verbose level; if zero, then nothing is printed to stderr or stdout. |
Definition at line 77 of file bf_model.c.