_gen_reshaped_quantiled_tacs#

petpal.utils.data_driven_image_analyses._gen_reshaped_quantiled_tacs(times: numpy.ndarray[float], tacs_mean: numpy.ndarray[float], tacs_std: numpy.ndarray[float]) numpy.ndarray#

Generate the aggregated multiple-tacs array for quantile threshold obtained tacs.

First column is assumed to be time in minutes, the second column is the mean tac values of the first component and first quantile, the third column is the standard deviation, and the rest of pairs of columns go over all the quantiles and then components in order.

Parameters:
  • times (np.ndarray[float]) – The frame times corresponding to the TACs.

  • tacs_mean (np.ndarray[float]) – The mean tac values of the TACs over the threshold components and quantiles.

  • tacs_std (np.ndarray[float]) – The stderr value of the TACs over the threshold components and quantiles.

Returns:

np.ndarray – Array containing the aggregated multiple-tacs array. The first column is the time, the rest of the column pairs correspond to the threshold component and the quantile.