pymem3dg.util.smooth

pymem3dg.util.smooth(y: list, box_pts: int)

Apply moving average to smooth the data

Parameters:
  • y (array) – data to be smoothened

  • box_pts (int) – box points

Returns:

smoothened data

Return type:

array