TPCCLIB
Loading...
Searching...
No Matches
File List
Here is a list of all documented files with brief descriptions:
 abss
  
abssbkg.c
Correct background radioactivity in on-line blood sampler data file
  
abssexam.c
Examines the channels in Scanditronics and GEMS ABSS data files
  
abssfch.c
Calculate and optionally correct the channel ratio in Scanditronics or GEMS ABSS data file
  
absstime.c
Correct the sampling times in on-line blood sampler data file
  
absszero.c
Remove initial bumps in on-line blood sampler data file
 arg
  
arlkup.c
Construct look-up table for autoradiographic analysis of [O-15]H2O PET data
  
perfrat.c
Calculate perfusion ratio from regional radiowater PET data
  
taclkup.c
Replace the y values in TAC data with the values from a specified look-up table
 bfm
  
bfmh2o.c
Basis function method fitting of regional radiowater data
  
bfmsrtm.c
Basis function method fitting of SRTM to regional PET data
 csvutils
  
csvrmcol.c
Remove column from CSV file
  
csvtrps.c
Transpose data in CSV table
 dcmutils
  
dcmdict.c
List the DICOM dictionary that is used by TPCCLIB
  
dcmframe.c
List time frames in DICOM PET image. Reference: DICOM PS3.3 2017a C.8.9
  
dcmlhdr.c
List the DICOM header contents
  
dcmmlist.c
List DICOM PET image matrices. Reference: DICOM PS3.3 2017a C.8.9
  
dcmxform.c
 halflife
  
dcftime.c
Calculate decay correction factor based on times or dates and times
  
halflife.c
Listing of PET isotope half-lives
  
tacdecay.c
Corrects or removes correction for physical decay in PET TAC data
 iftutils
  
csv2ift.c
Converts CSV file into IFT file for software testing
  
execlong.c
Execute shell command based on IFT file contents
  
iftadd.c
Inserts the items with specified key name from one Interfile-type file to another
  
iftdel.c
  
iftedit.c
Change the value of specified key in Interfile-type file
  
iftisval.c
Check if specified key exists in an Interfile-type file, and if it has the required value
  
iftlist.c
List ift file contents
  
iftmatch.c
Check if the information in two IFT files is the same
  
iftren.c
Renames specified key in Interfile-type file
  
iftvalc.c
Calculate with value in IFT file
  
rmcmnts.c
Remove comment lines from ASCII files
 imgcm
  
imgflowb.c
CBF map with radiowater and PVC
  
imgwcbf.c
CBF map with radiowater and PVC
 imgutils
  
imgdelay.c
Make a map of time delay between dynamic PET image and BTAC
  
imgformat.c
View or set PET image file format. NOT FUNCTIONAL YET!
  
imgsd.c
Make a map of standard deviation across image frames
  
niinan.c
Missing pixel values in NIfTI
 input
  
b2ptrap.c
Calculate or fit PTAC based on BTAC in cell trapping model
  
b2rbc.c
Calculates the RBC TAC from blood and plasma TACs
  
bpr2cpr.c
Converts blood-to-plasma ratio curve to RBC-to-plasma ratio curve
  
fit_av.c
Fit A-V difference using compartmental model
  
fit_disp.c
Fit dispersion and delay from system input and output curves
  
fit_pbr.c
Fit plasma-to-blood ratio curve
  
fit_wrlv.c
Fit RV and LV cavity BTACs from radiowater PET study
  
fitdt.c
Estimation and correction of delay-time between PET tissue and blood TACs
  
injdifft.c
Calculates the time difference between injection times
  
liverinp.c
Calculates a weighted average of TACs of portal vein and hepatic artery to be used as a single input TAC for liver study
  
liverpv.c
Generates portal vein TAC based on arterial TAC for liver PET studies
  
o2_p2w.c
Converts PTAC from a [O-15]O2 study to [O-15]H2O BTAC
  
spillinp.c
General geometrical model for cardiac spillover correction
  
tacmove.c
Move TACs in time, but keeping TAC times
  
tactime.c
Changing sample times in regional or blood/plasma TAC files
 libtpcabss
  
abss.c
Processing ABSS data stored in TAC struct
  
abssio.c
Functions for writing raw ABSS data files
  
libtpcabss.c
  
tpcabss.h
Header file for libtpcabss
 libtpcbfm
  
bf_1tcm.c
BFM for single tissue compartment model
  
bf_dexp.c
BFM for the sum of decaying exponential functions
  
bf_dms.c
BFM for the sum of surge functions with delay
  
bf_srtm.c
BFM for SRTM
  
libtpcbfm.c
  
tpcbfm.h
Header file for libtpcbfm
 libtpcbootstrap
  
bootstrap.c
Basic bootstrap functions
  
libtpcbootstrap.c
  
tpcbootstrap.h
Header file for libtpcbootstrap
 libtpccm
  
convolut.c
Linear convolution for discrete data
  
libtpccm.c
  
sim1cm.c
Simulation of 1-tissue compartmental models
  
sim2cm.c
Simulation of 2-tissue compartmental models
  
sim3cmp.c
Simulation of 3-tissue CM with compartments 2 and 3 in parallel
  
sim3cms.c
Simulation of 3-tissue CM with compartments in series
  
simblood.c
Simulation of BTAC
  
simdicm.c
Simulation of dual-input compartmental models
  
simdispersion.c
Simulation of dispersion
  
simkloss.c
Simulation of compartment models with loss rate constant
  
simoxygen.c
Simulation of [O-15]O2 tissue kinetics
  
simrtcm.c
Simulation reference tissue input compartmental models
  
tpccm.h
Header file for libtpccm
 libtpccsv
  
csv.c
CSV struct processing
  
csvfind.c
Find field contents in CSV struct
  
csvio.c
CSV file i/o functions
  
libtpccsv.c
  
tpccsv.h
Header file for library libtpccsv
 libtpcdcm
  
dcmdata.c
Processing DICOM data structs
  
dcmdictionary.c
DICOM dictionary for TPCCLIB
  
dcmfile.c
DICOM file and directory functions
  
dcmimage.c
Extract information from DICOM image
  
dcmio.c
IO functions for DICOM files
  
dcmmatrix.c
Processing DICOM image matrices
  
dcmsop.c
DICOM Storage SOPs
  
dcmuid.c
DICOM Transfer Syntax UID
  
dcmvr.c
DICOM Value Representations (VRs)
  
libtpcdcm.c
  
tpcdcm.h
Header file for libtpcdcm
 libtpcecat
  
ecatheader.c
Reading and writing ECAT headers
  
ecatio.c
Basic IO functions for ECAT files
  
ecatmatrixlist.c
Functions for processing ECAT matrix list
  
libtpcecat.c
  
tpcecat.h
Header file for libtpcecat
 libtpcextensions
  
datetime.c
Data and time processing functions
  
decpoint.c
Decimal point functions
  
doubleutil.c
Working with doubles
  
endian.c
Byte swapping between little and big endian
  
filename.c
Functions for editing file names
  
floatutil.c
Working with floats
  
intutil.c
Working with integer values
  
libtpcextensions.c
  
proginfo.c
Functions for printing usage and build information from executables
  
readasciifile.c
Read ASCII text file raw contents for further processing
  
roiname.c
Functions for ROI names
  
statusmsg.c
Status information for library functions
  
stringext.c
String processing functions
  
studynr.c
Finding and verifying TPC study id number. Study number consists of a string of 1-5 letters (upper- or lower-case) followed by 1-5 digits
  
tpcextensions.h
Header file for library libtpcextensions
  
units.c
Concentration and time unit functions
 libtpcfcmc
  
fcmc.c
Fuzzy C means clustering algorithm
  
libtpcfcmc.c
  
tpcfcmc.h
Header file for library libtpcfcmc
 libtpcfileutil
  
backup.c
Functions for file backup
  
filexist.c
Functions for checking if file exists or how many files do exist
  
libtpcfileutil.c
  
pathexist.c
Functions for working with paths
  
tpcfileutil.h
Header file for libtpcfileutil
 libtpcfunc
  
func.c
Mathematical functions evaluation library C file
  
libtpcfunc.c
  
rgamma.c
Regularized gamma function
  
tpcfunc.h
Header file for libtpcfunc
 libtpcift
  
ift.c
IFT struct processing
  
iftfind.c
Find keys and values in IFT
  
iftget.c
Get processed contents from IFT
  
iftio.c
IFT file i/o functions
  
libtpcift.c
  
tpcift.h
Header file for library libtpcift
 libtpcimage
  
image.c
Functions to basic processing with TPCCLIB image data structure
  
imagecomp.c
Comparison of IMG structure data
  
imagedcm.c
Process DICOM images with IMG structure
  
imageheader.c
Process header information in IMG structure
  
imageio.c
IO functions for image data
  
imagenii.c
Process NIfTI and Analyze images with IMG structure
  
imagesif.c
Scan information file interface with IMG structure
  
libtpcimage.c
  
tpcimage.h
Header file for libtpcimage
 libtpcisotope
  
decay.c
Factors for correcting or simulating physical decay
  
elements.c
Element names and symbols. See: https://iupac.org/what-we-do/periodic-table-of-elements
  
isotope.c
Isotope halflife functions
  
libtpcisotope.c
  
ranoise.c
PET noise estimation
  
tpcisotope.h
Header file for library libtpcisotope
 libtpcli
  
integrate.c
Linear integration
  
interpolate.c
Linear interpolation and integration
  
libtpcli.c
  
tpcli.h
Header file for libtpcli
 libtpclinopt
  
bvls.c
BVLS (Bounded-value least-squares)
  
hholder.c
Implementation and use of Householder transform
  
libtpclinopt.c
  
nnls.c
NNLS (non-negative least squares) and required subroutines
  
nnlsq.c
NNLS (non-negative least squares) and required subroutines
  
qrlsq.c
QR decomposition for solving least squares problems
  
regression.c
Regression line fitting
  
roots.c
Finding the real roots of equations
  
tpclinopt.h
Header file for libtpclinopt
 libtpcmicropet
  
libtpcmicropet.c
  
micropetio.c
Procedures for reading Siemens Inveon micropET images
  
tpcmicropet.h
Header file for libtpcmicropet
 libtpcmodels
  
aic.c
Functions for using Akaike's information criteria
  
libtpcmodels.c
  
modell.c
Model and function codes and descriptions for other libraries
  
optcrit.c
Optimality Criteria for other libraries
  
tpcmodels.h
Header file for libtpcmodels
 libtpcnew
  
libtpcnew.c
  
new.c
Template library C file
  
tpcnew.h
Header file for libtpcnew
 libtpcnifti
  
analyzeio.c
Procedures for Analyze images
  
libtpcnifti.c
  
niftiio.c
Procedures for NIfTI-1 images
  
niftiname.c
Procedures for NIfTI file names
  
tpcnifti.h
Header file for libtpcnifti
 libtpcnlopt
  
constraints.c
Check nonlinear fitting parameters against constraints
  
libtpcnlopt.c
  
mpso.c
Multi particle swarm optimization
  
nlopt.c
Non-linear optimization
  
nlopt1d.c
Nonlinear one-dimensional optimization
  
praxis.c
Powell-Brent (Praxis) nonlinear optimization
  
rndpoint.c
Random point for optimization routines
  
simplex.c
Downhill simplex nonlinear optimization
  
tgo.c
Topographical global optimization algorithm
  
tpcnlopt.h
Header file for library libtpcnlopt
 libtpcpar
  
libtpcpar.c
  
par.c
PAR struct processing
  
parcomb.c
Combinations of data in PAR structures
  
parcomp.c
Comparison of PAR struct data
  
parcsv.c
CSV and TSV I/O functions for TPC parameter files
  
parexample.c
Create PAR data for use in testing TPCCLIB
  
parfit.c
TPC result (*.fit) file format I/O functions
  
parift.c
IFT I/O functions for TPC parameter files
  
pario.c
I/O functions for TPC parameter files
  
parorder.c
Sort or otherwise change the order of data in PAR struct
  
parres.c
TPC result (*.res) file format I/O functions
  
parselect.c
Selecting parameter(s) and/or TAC(s) in PAR struct
  
parxmlio.c
I/O functions for model parameter XML format
  
tpcpar.h
Header file for libtpcpar
 libtpcrand
  
gaussdev.c
Functions for creating random numbers
  
halton.c
The Halton Sequence, a quasi-random low-discrepancy number generator
  
libtpcrand.c
  
mertwi.c
Mersenne Twister MT19937 pseudo-random number generator for TPCCLIB
  
shuffle.c
Random shuffle and related functions
  
tpcrand.h
Header file for libtpcrand
 libtpcstatist
  
libtpcstatist.c
  
mean.c
Functions for calculating mean and stdev
  
median.c
Functions for calculating median
  
sort.c
Functions for sorting simple arrays
  
tpcstatist.h
Header file for libtpcstatist
 libtpctac
  
4dmio.c
  
dftio.c
I/O functions for DFT TAC file format
  
hcio.c
I/O functions for HRRT and HR+ head curve format
  
libtpctac.c
  
matio.c
I/O functions for Mat TAC file format
  
mtac.c
Processing list of TAC structures
  
pmodio.c
I/O functions for PMOD TAC file format
  
qviewio.c
I/O functions for QView TAC file format
  
sifio.c
I/O functions for Scan Information Files
  
simpleio.c
I/O functions for simple ASCII TAC file format
  
tac.c
TAC structure processing
  
tacabss.c
I/O functions for automatic blood sampling system (ABSS) files
  
taccomp.c
Comparison of TAC struct data
  
taccsv.c
I/O functions for CSV and TSV TAC file format
  
tacdc.c
Decay correction for TAC data
  
tacift.c
Get or set TAC header content from IFT struct stored inside TAC struct
  
tacio.c
TAC file i/o functions
  
tacname.c
Working with TAC names in TAC structure
  
tacnan.c
Working with NaN's in TAC struct
  
tacorder.c
Sort or otherwise change the order of data in TAC struct
  
tacselect.c
Selecting TAC(s) in TAC struct
  
tacunits.c
TAC data unit conversions
  
tacw.c
Working with weights in TAC structure
  
tacx.c
Working with x values (sample times) in TAC structure
  
tacxmlio.c
I/O functions for TAC XML format
  
tacy.c
Working with y values (concentrations) in TAC struct
  
tpctac.h
Header file for library libtpctac
 libtpctacimg
  
libtpctacimg.c
  
misc.c
Misc functions processing both IMG and TAC structures
  
tpctacimg.h
Header file for libtpctacimg
  
x.c
Process time frames in image and TACs
 libtpctacmod
  
delay.c
Time delay between PET tissue and blood curve
  
histplot.c
Plot histogram in SVG format from dataset stored in TAC structure
  
libtpctacmod.c
  
lisim.c
Linear interpolation for simulation
  
litac.c
Linear interpolation of TACs
  
mftac.c
Make mathematical function based TAC
  
partac.c
Exchanging information between PAR and TAC structures
  
tacfitplot.c
Plot measured and fitted TACs in SVG format
  
tacmodelinput.c
Reading TACs to be used in modelling
  
tpctacmod.h
Header file for libtpctacmod
 llsq
  
lhsol.c
Estimation of the parameters of selected compartmental models for tracer studies applying Lawson-Hanson linear least-squares methods
  
lhtest.c
Testing linearized methods applying Lawson-Hanson linear least-squares methods
  
llsqe3.c
Fitting sum of three exponentials to TACs using LSQ methods, based on methods by Jean Jacquelin, see https://www.scribd.com/doc/14674814/Regressions-et-equations-integrales
  
llsqrk2.c
Estimation of R1 and k2 using reference tissue compartmental model applying linear least-squares methods
  
tacsa.c
Compartmental model spectral analysis of PET TTACs with PTAC and BTAC
 misc
  
addvers.c
Add version number to the file name
  
htmlgall.c
Simple HTML gallery of SVG plots
  
pdoc2htm.c
Convert program user information text file into HTML format
 mtga
  
logan.c
Logan plot analysis for regional TAC data
  
patlak.c
Patlak plot analysis for regional TAC data
  
yokoi.c
Yokoi plot analysis for regional TAC data
 parutils
  
models.c
Listing of PET models
  
paradd.c
Insert parameters from one PAR file into another
  
parai.c
Calculate Asymmetry Index (AI) from PET results in PAR file
  
parcoll.c
Collect parameters from specified files into one parameter file
  
pardiff.c
Calculate difference between parameters in two files
  
parformat.c
View or set PAR data units
  
parget.c
Print to stdout a single parameter value from a PAR file
  
parmatch.c
Verify that two PAR files have matching contents; for SW testing
  
parmean.c
Calculate mean, median, and SD of parameter values
  
parrenp.c
Rename parameter in PAR file
  
parsort.c
Sort contents in parameter file
 pk
  
fit2auc.c
Calculation of PTAC AUC from specified time to infinity
 sifutils
  
sifcat.c
Catenate SIF files from interrupted PET studies
  
sifisot.c
Add isotope to SIF files
  
tacweigh.c
Add or remove sample weights to PET TAC data
 simimg
  
flat2nii.c
Create NIfTI format PET image with contents from binary flat file
  
hist2svg.c
Plot histogram from data given in TAC format
  
simboxes.c
Make matrix containing boxes with increasing integer values starting from 1 for image simulations and to be used as image mask in software testing
  
simcirc.c
Make matrix with circle with values 1 and 0 for image simulations and masking
  
simelli.c
Create NIfTI format PET image with a general ellipsoid for testing and simulations
  
tac2nii.c
Create NIfTI format PET image with contents from specified TAC file
 simulation
  
conv1tcm.c
Simulation of 1-tissue compartment model using convolution
  
convexpf.c
Convolving TAC with sum of decaying exponential functions
  
convsurg.c
Convolving TAC with surge function
  
convttm.c
Convolving TAC with the transfer function of one-parameter transit-time model
  
fvar4tac.c
Adds Gaussian noise to simulated dynamic PET TAC
  
sim_3tcm.c
Simulation of TACs using three-tissue compartmental model
  
sim_av.c
Simulation of A-V difference using compartmental model
  
sim_h2o.c
Simulation of TTACs using compartmental model for radiowater
  
sim_mbf.c
Simulation of myocardial muscle and LV cavity TACs
  
sim_pkcp.c
Simulation of drug plasma concentration using pharmacokinetic compartment model
  
sim_rtcm.c
Simulation of TACs using variants of reference tissue model
  
sim_wliv.c
Simulation of liver TTACs using compartmental model for radiowater
  
simcmdk.c
Simulation of TTAC using compartmental model
  
simdisp.c
Simulate or correct dispersion effect on PET input TAC
  
simframe.c
Simulates PET time frames with regional TACs
  
siminput.c
Compartmental model simulation of input function
  
simttm.c
Simulate output of one-parameter transit-time model
  
svar4tac.c
Adds Gaussian noise to simulated dynamic TAC
  
var4tac.c
Adds Gaussian noise to simulated dynamic PET TAC
 suv
  
tac2suv.c
Converting TAC data into SUV or i.d./ml
 taccm
  
fit_1tcm.c
Fit one tissue compartmental to regional TTACs
  
fit_wcbf.c
Fit radiowater model with PVC to brain TTACs using BTAC as input function
  
fit_wliv.c
Fit radiowater model to liver TTACs using arterial BTAC as input function, modelling portal vein input as delayed and dispersed version of arterial BTAC
  
fit_wpul.c
Fit radiowater model to pulmonary TTACs using RV cavity BTAC as input function
  
fitmtrap.c
Fit trap model to myocardial PET data
  
taccbv.c
Subtracts or simulates the contribution of vascular radioactivity to PET TTACs
 tacfits
  
fit_blddr.c
Fit AIF integral function to bladder TACs
  
fit_dexp.c
Fit the sum of exponentials to decaying TAC
  
fit_dms.c
Fit the sum of surge functions and delay time to TACs
  
fit_suri.c
Fit Surge function plus integral to PET TACs
  
fit_wcdf.c
Fit Weibull's CDF plus derivative to PET TACs
  
fit_xexp.c
Fit response function, convolved with input TAC, to output TAC. Response function is sum of exponentials
  
fit_xsur.c
Fit response function, convolved with input TAC, to output TAC. Response function is surge function
  
taccbvp.c
Estimate Vb and Ct based on BTAC peak
  
tacmean.c
Calculate an average of all TACs inside TAC file, and optionally SD and CV curves
  
tacpeak.c
Find peak time and value in TAC file
  
tacslope.c
Find highest slope in TAC file
 tacutils
  
avgttac.c
Calculate average(s) from TTACs in separate files with equal sample times
  
interpol.c
Linear interpolation and integration of TACs
  
tac2xml.c
Save Excel-compatible XML file containing data from one or more TAC files
  
tac4frpl.c
Transform TACs suitable for plotting with frames as bars
  
tacadd.c
Insert one or more TACs from one or more TAC file(s) into another
  
tacadd0.c
Add zero sample to the beginning of TAC data
  
tacblend.c
Pool all data samples from given TAC files
  
taccalc.c
Arithmetic calculations with TAC files
  
taccat.c
Catenation of two TAC files
  
taccross.c
Determine the time (x) when TAC 2 crossed over TAC 1
  
taccut.c
Extract specified time interval from the TAC
  
taccuty.c
Extract specified y (concentration) interval from the TAC
  
tacdel.c
Delete certain TAC(s) inside TAC file
  
tacdelna.c
Delete TAC(s) inside TAC file that have missing values (NaN)
  
tacfcont.c
Ensure that TAC time frames are continuous, without overlaps or gaps
  
tacformat.c
View or set TAC data file format
  
tacfr2x.c
Transform TAC x1 and x2 (frame start and end times) to x at each x1 and x2
  
tacframe.c
Print or edit frame times in TAC file
  
tacinv.c
Invert TAC data (calculate 1/y)
  
tacjoin.c
Join all TACs from given TAC files into one file
  
taclist.c
List tac file regions
  
tacln.c
Natural logarithm of TAC data
  
tacmatch.c
Verify that two TAC files have matching contents; for SW testing
  
tacmidy.c
Convert TAC y values representing averages during frames with values at the frame middle time points for SW testing
  
tacmsamp.c
Replace multiple samples in TAC file with their mean
  
tacmultx.c
Multiply TAC x column with a user-specified value
  
tacnames.c
List TAC names inside TAC files
  
tacp2f.c
Convert percentage values in TAC data to fractions
  
tacrange.c
List tac time range
  
tacren.c
Rename TAC(s) inside TAC file
  
tacsetx.c
Replace TAC x column (usually time) with a y column from another TAC file
  
tacsety.c
Replace specified y (concentration) values with given value for SW testing
  
tacsort.c
Sort TACs by region name or sample time
  
tacsplit.c
Split TAC file into separate TAC files with one TAC in each
  
tacstudy.c
Set or get the study number in PET TAC and PAR files
  
tacunit.c
View or set TAC data units
  
tocr.c