Baseline estimation
snipBase(sp, widthI = 11, iteI = 5)
sp
an array with spectrum values
widthI
width of interval
iteI
number of iteration
baseline estimation of the spectrum