|
TPCCLIB
|
Isotope halflife functions. More...
#include "tpcclibConfig.h"#include <stdio.h>#include <stdlib.h>#include <math.h>#include <time.h>#include <string.h>#include "tpcisotope.h"Go to the source code of this file.
Functions | |
| double | isotopeHalflife (int isotope_code) |
| double | isotopeBranching (int isotope_code) |
| char * | isotopeName (int isotope_code) |
| int | isotopeIdentifyHalflife (double halflife) |
| int | isotopeIdentify (const char *isotope) |
Isotope halflife functions.
Definition in file isotope.c.
| double isotopeBranching | ( | int | isotope_code | ) |
Get the branching ratio (fraction) of an isotope spcecified with its isotope_code.
| isotope_code | isotope_code as enum or the index of isotope in isotope table |
Definition at line 81 of file isotope.c.
| double isotopeHalflife | ( | int | isotope_code | ) |
Get the half-life (in minutes) of an isotope specified with its isotope_code.
| isotope_code | isotope_code as enum or the index of isotope in isotope table. |
Definition at line 62 of file isotope.c.
Referenced by abssWrite(), imgWriteDICOM(), lambdaFromIsotope(), and tacDecayCorrection().
| int isotopeIdentify | ( | const char * | isotope | ) |
Identify the given string representation of isotope, whether it is in format like 'C-11', '11C', '^11^C', or '^11^Carbon'. Even a one-letter symbol like 'C' may be accepted for the most common PET isotopes.
| isotope | Name of isotope to identify. |
Definition at line 145 of file isotope.c.
Referenced by abssWrite(), dcmImgIsotope(), tacGetIsotope(), tacRead4DM(), and tacReadSIF().
| int isotopeIdentifyHalflife | ( | double | halflife | ) |
Identify the isotope based on halflife.
| halflife | Halflife in minutes |
Definition at line 121 of file isotope.c.
Referenced by dcmImgIsotope().
| char * isotopeName | ( | int | isotope_code | ) |
Get the string representation of an isotope specified with its isotope_code.
| isotope_code | isotope_code as enum or the index of isotope in isotope table. |
Definition at line 101 of file isotope.c.
Referenced by dcmImgIsotope(), imgContents(), imgFillOHeader(), imgReadDICOM(), sifWeight(), tacRead4DM(), tacReadSIF(), tacSetIsotope(), tacSetWeights(), and tacWByFreq().