Package reflectometry :: Package reduction :: Module smoothcor

Module smoothcor

source code

Data smoothing

Uses moving window 1-D polynomial least squares smoothing filter.

Usage

Create and apply the filter:

from reflectometry.reduction.corrections import smooth
...
data.apply(smooth(degree=2,span=12))
Classes
  Smooth
Moving window 1-D polynomial least squares smoothing filter.