test implement of snv, detrend, savgol