logan_ref_region_analysis#
- petpal.kinetic_modeling.graphical_analysis.logan_ref_region_analysis(tac_times_in_minutes: numpy.ndarray, input_tac_values: numpy.ndarray, region_tac_values: numpy.ndarray, t_thresh_in_minutes: float, k2_prime: float) numpy.ndarray#
Performs Logan with reference region input function on given input TAC, regional TAC, times, threshold, and population averaged reference region k2.
- Parameters:
tac_times_in_minutes (np.ndarray) – Array of times in minutes.
input_tac_values (np.ndarray) – Array of input TAC values
region_tac_values (np.ndarray) – Array of ROI TAC values
t_thresh_in_minutes (np.ndarray) – Threshold time in minutes. Line is fit for all values after the threshold.
k2_prime (float) – Population averaged k2 value for the reference region.
- Returns:
np.ndarray –
- Array of two elements - (slope, intercept) of the best-fit line to the given
data.
Important
The interpretation of the values depends on the underlying kinetic model.
We assume that the input TAC and ROI TAC values are sampled at the same times.