smooth

emlib.numpytools.smooth(a, kind='running', strength=0.05)[source]

Smooth the values in a

Parameters:
  • a (ndarray) – the array to smoothen

  • kind – the procedure used. One of “running”, “gauss”

  • strength – how strong should the smoothing be?

Return type:

ndarray

Returns:

the resulting array