Idif Necktangle#
This module contains a collection of functions to calculate an image-derived input function (IDIF) given a “necktangle”. “Necktangles” are a 3D rectangular region of interest over the neck to help identify the carotid PET signal. This method was developed and provided for use in this software package by Dr. Karl Friedrichsen
- Requires:
The module relies on the numpy module.
Functions#
Applies the single bolus percentile IDIF method to calculate the time-activity curve (TAC) from PET data. |
|
|
Calculates the mean frame across the specified range of frames in the 4-dimensional PET data. |
|
Calculates the midpoint times of each frame based on the start times and duration times. |
|
Loads fslmeants (--show-all) data from a file and converts it into a 3D numpy array. |
Computes the IDIF from a 4D PET necktangle matrix given a percentile for thresholding. |