residual_nnls

glotaran.analysis.nnls.residual_nnls(matrix: numpy.ndarray, data: numpy.ndarray)Tuple[List[str], numpy.ndarray][source]

Calculate the conditionally linear parameters and residual with the nnls method.

nnls stands for ‘non-negative least-squares’.

Parameters
  • matrix – The model matrix.

  • data (np.ndarray) – The data to analyze.