Decay Correction#

Provides functions for undo-ing decay correction and recalculating it.

Classes#

DecayCorrect

Decay correct or uncorrect each frame in a dynamic PET scan.

DecayFix

Special case for decay correction where the dynamic PET image was scaled with the wrong

Functions#

undo_decay_correction(→ ants.ANTsImage)

Uses decay factors from the metadata for an image to remove decay correction for each frame.

decay_correct(→ ants.ANTsImage)

Recalculate decay_correction for nifti image based on frame reference times.

calculate_frame_decay_factor(→ numpy.ndarray)

Calculate decay correction factors for a scan given the frame reference time and half life.

scale_frames(input_img, scalar_arr)