#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include "curveio.h"
#include "simulate.h"
#include "include/libtpcmodext.h"
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:
-
| t | PET frame mid times |
| cr | Non-decay corrected Cr(t) |
| n | Nr of PET frames |
| bfNr | Nr of basis functions to calculate |
| t3min | theta3 min |
| t3max | theta3 max |
| bf | data for basis functions is allocated and filled here |
Definition at line 54 of file bf.c.