My Project
halflife.h
Go to the documentation of this file.
1/******************************************************************************
2
3 Copyright (c) 2002-2007 by Turku PET Centre
4
5 halflife.h
6
7 Reference: Table of Isotopes, Sixth edition, edited by C.M. Lederer,
8 J.M. Hollander, I. Perlman. WILEY, 1967.
9
10 Date:
11 2002-01-30 Vesa Oikonen
12 First created.
13 2002-08-08 VO
14 Ga68 changed from 67.8 to 68.0 as requested by Tuula Tolvanen.
15 2002-08-28 VO
16 Included unofficial isotopes Br76, Rb82 and Cu62.
17 2003-07-07 VO
18 Included function definitions for halflife.c.
19 2004-02-02 VO
20 Included unofficial half-lives for Br-75, Cu-64, Fe-52, O-14, Na-22 and
21 Zn-62.
22 2005-01-21 VO
23 Included hlCorrectIsotopeCode().
24 2007-02-01 VO
25 See halflife.c.
26 2007-03-30 Kaisa Liukko
27 Added isotope I-124
28
29
30******************************************************************************/
31#ifndef _HALFLIFE_H
32#define _HALFLIFE_H
33/*****************************************************************************/
35#define HL_O15 2.05 /* 123 s */
36#define HL_N13 10.0
37#define HL_C11 20.4
38#define HL_F18 109.8
39#define HL_Ge68 396000.0 /* 275 d */
40#define HL_Ga68 68.0
41/*****************************************************************************/
42/* The following halflifes have not been checked from the reference; */
43/* they are thus meant to be used only during program development period */
44#define HL_Br75 98.0
45#define HL_Br76 978.33 /* 58700 s */
46#define HL_Cu62 9.7 /* 582 s */
47#define HL_Cu64 768.0
48#define HL_Fe52 4980.0
49#define HL_Na22 1368000.0
50#define HL_O14 1.1818
51#define HL_Rb82 1.25 /* 75 s */
52#define HL_Zn62 558.0
53#define HL_I124 6013.44 /* 4.176 */
54/*****************************************************************************/
55/* Add ln(2) if it is not defined */
56#ifndef M_LN2
57#define M_LN2 0.69314718055994530942
58#endif
59/*****************************************************************************/
60extern char *hlIsotopeCode(int isotope);
61extern double hlFromIsotope(char *isocode);
62extern double hl2lambda(double halflife);
63extern double hlLambda2factor(double lambda, double frametime, double framedur);
64extern float hlLambda2factor_float(float lambda, float frametime, float framedur);
65extern char *hlCorrectIsotopeCode(char *isocode);
66extern int hlIsotopeFromHalflife(double halflife);
67/*****************************************************************************/
68/* Deprecated function names. Please don't use these anymore */
69#define lambda2factor hlLambda2factor
70#define lambda2factor_float hlLambda2factor_float
71/*****************************************************************************/
72#endif
double hl2lambda(double halflife)
Definition: halflife.c:144
char * hlIsotopeCode(int isotope)
Definition: halflife.c:98
double hlLambda2factor(double lambda, double frametime, double framedur)
Definition: halflife.c:158
float hlLambda2factor_float(float lambda, float frametime, float framedur)
Definition: halflife.c:178
char * hlCorrectIsotopeCode(char *isocode)
Definition: halflife.c:201
double hlFromIsotope(char *isocode)
Definition: halflife.c:118
int hlIsotopeFromHalflife(double halflife)
Definition: halflife.c:255