get_inliers

get_inliers(x, n=1, med=<function median>, std=<function std>)[source]

Returns the inliers data.

Parameters
  • x (Iterable) – Input data.

  • n (int) – Number of standard deviations.

  • med (callable, optional) – Median function.

  • std (callable, optional) – Standard deviation function.

Returns

Inliers mask, median and standard deviation of inliers.

Return type

(numpy.array, float, float)