00001 /****************************************************************************** 00002 00003 Copyright (c) 2002-2007 by Turku PET Centre 00004 00005 halflife.h 00006 00007 Reference: Table of Isotopes, Sixth edition, edited by C.M. Lederer, 00008 J.M. Hollander, I. Perlman. WILEY, 1967. 00009 00010 Date: 00011 2002-01-30 Vesa Oikonen 00012 First created. 00013 2002-08-08 VO 00014 Ga68 changed from 67.8 to 68.0 as requested by Tuula Tolvanen. 00015 2002-08-28 VO 00016 Included unofficial isotopes Br76, Rb82 and Cu62. 00017 2003-07-07 VO 00018 Included function definitions for halflife.c. 00019 2004-02-02 VO 00020 Included unofficial half-lives for Br-75, Cu-64, Fe-52, O-14, Na-22 and 00021 Zn-62. 00022 2005-01-21 VO 00023 Included hlCorrectIsotopeCode(). 00024 2007-02-01 VO 00025 See halflife.c. 00026 2007-03-30 Kaisa Liukko 00027 Added isotope I-124 00028 00029 00030 ******************************************************************************/ 00031 #ifndef _HALFLIFE_H 00032 #define _HALFLIFE_H 00033 /*****************************************************************************/ 00035 #define HL_O15 2.05 /* 123 s */ 00036 #define HL_N13 10.0 00037 #define HL_C11 20.4 00038 #define HL_F18 109.8 00039 #define HL_Ge68 396000.0 /* 275 d */ 00040 #define HL_Ga68 68.0 00041 /*****************************************************************************/ 00042 /* The following halflifes have not been checked from the reference; */ 00043 /* they are thus meant to be used only during program development period */ 00044 #define HL_Br75 98.0 00045 #define HL_Br76 978.33 /* 58700 s */ 00046 #define HL_Cu62 9.7 /* 582 s */ 00047 #define HL_Cu64 768.0 00048 #define HL_Fe52 4980.0 00049 #define HL_Na22 1368000.0 00050 #define HL_O14 1.1818 00051 #define HL_Rb82 1.25 /* 75 s */ 00052 #define HL_Zn62 558.0 00053 #define HL_I124 6013.44 /* 4.176 */ 00054 /*****************************************************************************/ 00055 /* Add ln(2) if it is not defined */ 00056 #ifndef M_LN2 00057 #define M_LN2 0.69314718055994530942 00058 #endif 00059 /*****************************************************************************/ 00060 extern char *hlIsotopeCode(int isotope); 00061 extern double hlFromIsotope(char *isocode); 00062 extern double hl2lambda(double halflife); 00063 extern double hlLambda2factor(double lambda, double frametime, double framedur); 00064 extern float hlLambda2factor_float(float lambda, float frametime, float framedur); 00065 extern char *hlCorrectIsotopeCode(char *isocode); 00066 extern int hlIsotopeFromHalflife(double halflife); 00067 /*****************************************************************************/ 00068 /* Deprecated function names. Please don't use these anymore */ 00069 #define lambda2factor hlLambda2factor 00070 #define lambda2factor_float hlLambda2factor_float 00071 /*****************************************************************************/ 00072 #endif