TPCCLIB
|
Setting DFT calibration unit. More...
#include "libtpccurveio.h"
Go to the source code of this file.
Functions | |
void | dftUnitToDFT (DFT *dft, int dunit) |
int | dftUnitConversion (DFT *dft, int dunit) |
int | dftTimeunitToDFT (DFT *dft, const char *timeunit) |
int | dftTimeunitConversion (DFT *dft, int tunit) |
void | dftMin2sec (DFT *dft) |
void | dftSec2min (DFT *dft) |
void dftMin2sec | ( | DFT * | dft | ) |
Change time unit from min to sec, without checking original unit.
Definition at line 145 of file dftunit.c.
Referenced by copy_times_from_img_to_dft(), cptWrite(), and dftTimeunitConversion().
void dftSec2min | ( | DFT * | dft | ) |
Change time unit from sec to min, without checking original unit.
Definition at line 160 of file dftunit.c.
Referenced by copy_times_from_img_to_dft(), cptReadOne(), and dftTimeunitConversion().
int dftTimeunitConversion | ( | DFT * | dft, |
int | tunit ) |
Conversion of the DFT timeunit. Changes both data values and timeunit code. Currently available conversions are: min <-> sec
dft | Pointer to existing DFT data, whose timeunit is to be changed |
tunit | New timeunit code |
Definition at line 119 of file dftunit.c.
Referenced by dftInterpolateCheckEnd(), dftInterpolateCheckStart(), dftMatchTimeunits(), dftReadinput(), dftReadModelingData(), dftReadReference(), img_logan(), img_patlak(), and imgReadModelingData().
int dftTimeunitToDFT | ( | DFT * | dft, |
const char * | timeunit ) |
int dftUnitConversion | ( | DFT * | dft, |
int | dunit ) |
Conversion of the DFT calibration unit. Changes both data values and unit string. Currently available conversions are: MBq/cc <-> kBq/cc <-> Bq/cc <-> nCi/cc <-> uCi/cc Bq <-> kBq <-> MBq <-> GBq <-> nCi <-> uCi <-> mCi
dft | Pointer to existing DFT data, whose calibration unit is to be changed |
dunit | New unit code |
Definition at line 25 of file dftunit.c.
Referenced by cunit_check_dft_vs_img(), dftReadinput(), dftReadModelingData(), and dftReadReference().
void dftUnitToDFT | ( | DFT * | dft, |
int | dunit ) |
Set DFT calibration unit string
Definition at line 11 of file dftunit.c.
Referenced by csv2dft_a(), csv2dft_b(), csv2dft_linkset(), csv2dft_mat(), dftUnitConversion(), and tsvRead().