logan_ref_region_analysis_with_rsquared#
- petpal.kinetic_modeling.graphical_analysis.logan_ref_region_analysis_with_rsquared(tac_times_in_minutes: numpy.ndarray, input_tac_values: numpy.ndarray, region_tac_values: numpy.ndarray, t_thresh_in_minutes: float, k2_prime: float) tuple[float, float, float]#
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:
tuple – (slope, intercept, \(R^2\))
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.