robust_mean

sofia_redux.scan.utilities.numba_functions.robust_mean(values, tails=None)[source]

Calculate the robust mean value excluding tails.

Parameters:
valuesnumpy.ndarray (float)
tailsfloat, optional

Calculate the mean between the sorted values within the tails of the distribution.

Returns:
meanfloat