|
TPCCLIB
|
Create PAR data for use in testing TPCCLIB. More...
#include "tpcclibConfig.h"#include <stdio.h>#include <stdlib.h>#include <math.h>#include <time.h>#include <string.h>#include "tpcpar.h"Go to the source code of this file.
Functions | |
| int | parExampleTTACs (PAR *d, int type, TPCSTATUS *status) |
| int | parExamplePerfectBolus (PAR *d, TPCSTATUS *status) |
| int | parExampleRadiowaterBolus (PAR *d, TPCSTATUS *status) |
Create PAR data for use in testing TPCCLIB.
Definition in file parexample.c.
Create PAR data containing function parameters for perfect bolus TAC, starting from zero and approaching zero after the peak.
Creates Gamma variate function (gammav) function with zero delay and with p[1]=1. Maximum is at 1.2 s and max value is 100 kBq/mL. Integral from 0 to infinity is 326.19382 (p[0]*p[2]^2).
| d | Pointer to initiated PAR struct, which will be allocated and filled here; any previous content will be deleted. |
| status | Pointer to status data; enter NULL if not needed |
Definition at line 120 of file parexample.c.
Create PAR data containing function parameters for bolus injection radiowater BTAC.
| d | Pointer to initiated PAR structure, which will be allocated and filled here; any previous content will be deleted. |
| status | Pointer to status data; enter NULL if not needed |
Definition at line 184 of file parexample.c.
Create PAR data containing function parameters for typical-looking PET TTACs for use in algorithm and software tests.
Creates three fengm2 functions with zero delay.
| d | Pointer to initiated PAR struct, which will be allocated and filled here; any previous content will be deleted. |
| type | TTAC type; currently unused |
| status | Pointer to status data; enter NULL if not needed |
Definition at line 24 of file parexample.c.