Eilers P. H. C. and Boelens H. F. M. (2005) Baseline correction with asymmetric least squares smoothing. Leiden Univ. Medical Centre Report.
bc_als(mrs_data, lambda = 10000, p = 0.001, ret_bc_only = TRUE)
mrs_data object.
controls the baseline flexibility.
controls the penalty for negative data points.
return the baseline corrected data only. When FALSE the baseline estimate and input data will be returned.
baseline corrected data.