def add_filter(self, name, code, active=True, combined=False,
                   on_exception=True, group_name=None, overwrite=False):
        self.add_item(self.Filter(code, self, active, combined, on_exception),
                      name, group_name, overwrite)
Adds a filter.
dataset/ETHPy150Open rproepp/spykeviewer/spykeviewer/plugin_framework/filter_manager.py/FilterManager.add_filter