DOC: add docstring to filter