saltfit
linear least square polynomial fit with sigma-clipping
-
saltfit.poly(x, y, order, rej_lo, rej_hi, niter)
linear least square polynomial fit with sigma-clipping
- x = list of x data
- y = list of y data
- order = polynomial order
- rej_lo = lower rejection threshold (units=sigma)
- rej_hi = upper rejection threshold (units=sugma)
- niter = number of sigma-clipping iterations