patlak_analysis_with_rsquared ======================================================================== .. py:function:: petpal.kinetic_modeling.graphical_analysis.patlak_analysis_with_rsquared(tac_times_in_minutes: numpy.ndarray, input_tac_values: numpy.ndarray, region_tac_values: numpy.ndarray, t_thresh_in_minutes: float) -> Tuple[float, float, float] Performs Patlak analysis given the input TAC, region TAC, times and threshold. :param tac_times_in_minutes: Array of times in minutes. :type tac_times_in_minutes: np.ndarray :param input_tac_values: Array of input TAC values :type input_tac_values: np.ndarray :param region_tac_values: Array of ROI TAC values :type region_tac_values: np.ndarray :param t_thresh_in_minutes: Threshold time in minutes. Line is fit for all values after the threshold. :type t_thresh_in_minutes: np.ndarray :returns: *tuple* -- (slope, intercept, :math:`R^2`) .. important:: * We assume that the input TAC and ROI TAC values are sampled at the same times.