Core: outlier rejection methods from Scikit-learn
The follwoing methods are robust, community tested and open source, so should be easy enough to implement. See also #138 (closed), which is inspired by a closed source and undocumented algorithm from another code.
https://scikit-learn.org/stable/modules/outlier_detection.html