Adaptive filtering module for Python