stats (module)

Some reusable statistic functions

Functions

rolling_window_sigma_clip(log, array, …)

given a sorted list of values, median sigma-clip values based on a window of values either side of each value (rolling window) and return the array mask