Before I re-invent the wheel… Do a sigma-clip function exist (similar to scipy.stats.sigmaclip) in some Julia package, preferable which works also on DataFrames !?
There is an implementation in Photometry.jl.
(Of course, it’s only a few-line function, so simple enough to implement yourself … unlike in Python where this would require user code in the inner loop, or alternatively multiple temporary arrays from vectorized comparisons, and would hence be slow.)
1 Like