sav.gol           package:MassSpecWavelet           R Documentation

_E_s_t_i_m_a_t_e _t_h_e _b_a_s_e_l_i_n_e _b_y _u_s_i_n_g _S_a_v_i_t_z_k_y-_G_o_l_a_y _A_l_g_o_r_i_t_h_m

_D_e_s_c_r_i_p_t_i_o_n:

     Estimate the baseline by using Savitzky-Golay Algorithm

_U_s_a_g_e:

     sav.gol(T, fl, forder = 4, dorder = 0)

_A_r_g_u_m_e_n_t_s:

       T: vector of signals to be filtered 

      fl: filter length (for instance fl = 51..151) 

  forder: filter order (2 = quadratic filter, 4= quartic) 

  dorder: derivative order (0 = smoothing, 1 = first derivative, etc.) 

_V_a_l_u_e:

     The return is a smoothed vector (baseline).

_N_o_t_e:

     This function was added by Steffen Neumann. We appreciated his
     help to make the package better.

_A_u_t_h_o_r(_s):

     Steffen Neumann <sneumann@ipb-halle.de>

