constraintUnimod function

Method for unimodality constraint

Method for unimodality constraint

forces column of matrix to have one maximum each

constraintUnimod(x, d, tol = 0)

Arguments

  • x: data matrix (spectra or contributions)
  • d: matrix with the original spectral values
  • tol: tolerance (value between 0 and 1) to take make method stable to small fluctuations
  • Maintainer: Sergey Kucheryavskiy
  • License: MIT + file LICENSE
  • Last published: 2024-08-19