This is a stripped down implementation of the asymmetric least squares (ALS) algorithm for baseline subtraction, based off of the paper by Paul H. C. Eilers Hans F.M. Buelens, Baseline Correction with ...