A appreciate baseline correction can only be defined by the user, based on the experimental conditions. That is, the user need to define the smoothness parameter and positive spectrum parameter then apply the baseline correction after satisfying result.
The smoothness parameter is the weight of the smoothness constraint in the baseline estimation. The larger the value, the smoother the baseline. Typical values are from 1e8 to 1e13
The positive spectrum parameter is the weight of the constraint that the baseline should be below the spectrum. The larger the value, the less the baseline will be allowed above the spectrum (to accommodate noise). Typical values are from 1.0 to 2.0
Important: phase correction is no longer allowed after baseline correction.
Reference: Baseline Correction for NMR Spectroscopic Metabolomics Data Analysis (Yuanxin Xi and David M Rocke); BMC Bioinformatics 2008, 9:324