|
TPCCLIB
|
Physical decay and isotopes in DFT. More...
#include "libtpccurveio.h"Go to the source code of this file.
Functions | |
| int | dftDecayCorrection (DFT *dft, double hl, int mode, int y, int y2, int y3, char *status, int verbose) |
Physical decay and isotopes in DFT.
Definition in file dftdecayc.c.
| int dftDecayCorrection | ( | DFT * | dft, |
| double | hl, | ||
| int | mode, | ||
| int | y, | ||
| int | y2, | ||
| int | y3, | ||
| char * | status, | ||
| int | verbose ) |
Corrects TAC data for physical decay, or removed the correction.
Weights are not modified.
| dft | Pointer to existing DFT data; status of decay correction in DFT is not verified, but set in this function; DFT must contain valid sample time unit. |
| hl | Half-life of isotope in minutes; enter <=0, if correct isotope code is given in DFT |
| mode | 0=Remove decay correction; 1=Correct for decay |
| y | Apply (1) or do not apply (0) correction to y[] data in DFT |
| y2 | Apply (1) or do not apply (0) correction to y2[] data in DFT |
| y3 | Apply (1) or do not apply (0) correction to y3[] data in DFT |
| 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 16 of file dftdecayc.c.