decay_correct: Perform Decay Correction of TAC values

View source: R/kinfitr_miscfuncs.R

decay_correctR Documentation

Perform Decay Correction of TAC values

Description

This function uses the equation described here to perform the calculations: http://www.turkupetcentre.net/petanalysis/decay.html

Usage

decay_correct(t_start, t_end, tac_uncor, radioisotope = c("C11", "O15", "F18"))

Arguments

t_start

The starting times of the frames in minutes.

t_end

The end times of the frames in minutes.

tac_uncor

The uncorrected radioactivity values.

radioisotope

The radioisotope.

Value

The tac after decay correction

Author(s)

Granville J Matheson, mathesong@gmail.com

Examples

data(pbr28)
s1 <- pbr28$tacs[[1]]

# Assuming the data were not decay-corrected (they are)
decay_correct(
  s1$StartTime/60,
 (s1$StartTime + s1$Duration)/60,
 tac_uncor = s1$FC)


mathesong/kinfitr documentation built on Jan. 15, 2024, 11:07 p.m.