libtpcmodext
 All Files Functions Variables Defines
Functions
bf.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include "curveio.h"
#include "simulate.h"
#include "include/libtpcmodext.h"
Include dependency graph for bf.c:

Go to the source code of this file.

Functions

int bf_srtm (double *t, double *cr, int n, int bfNr, double t3min, double t3max, DFT *bf)

Function Documentation

int bf_srtm ( double *  t,
double *  cr,
int  n,
int  bfNr,
double  t3min,
double  t3max,
DFT *  bf 
)

Calculates set of basis functions for SRTM

Returns:
Returns 0 if successful, otherwise nonzero.
Parameters:
tPET frame mid times
crNon-decay corrected Cr(t)
nNr of PET frames
bfNrNr of basis functions to calculate
t3mintheta3 min
t3maxtheta3 max
bfdata for basis functions is allocated and filled here

Definition at line 54 of file bf.c.