Penalty processes for combining roughness and smoothness in spectral multivariate calibration