Main Page | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

weight.c File Reference

#include "include/sif.h"

Functions

void sifWeight (SIF *data, double halflife)

Function Documentation

void sifWeight SIF data,
double  halflife
 

Calculate weights for frames in SIF data, normalized between 0-1. Weights are calculated from formula weight=(frame duration)^2 / (trues in a frame). Before calling this routine, trues must be calculated as total counts - randoms. Counts in SIF are not corrected for physical decay. Therefore, isotope halflife must be known, if weights are to be calculated for decay corrected TACs. Isotope halflife must be set to 0, if weights are used for TACs that are not corrected for decay.

Mazoyer BM, Huesman RH, Budinger TF, Knittel BL. Dynamic PET data analysis. J Comput Assist Tomogr 1986; 10:645-653.

Parameters:
data  Pointer to SIF data
halflife  Halflife (sec) of isotope label; If halflife is 0, the weights are calculated for non-decay corrected data. If halflife (sec) is >0, the weights are calculated using decay corrected trues, but trues data is not changed.


Generated on Tue Feb 8 11:48:06 2005 for libSIF by  doxygen 1.4.1