def __annotation_handler__(self): self.annotation_filter.excluded_annotations = self.excluded_annotations run_filter(self.parent(), self.annotation_filter, self.data_accessor, filter_name='annotation') self.setDisabledAnnotations(self.excluded_annotations) self.disableIfAllChecked() self.__action_button__.setEnabled(False)
def __filter_handler__(self): if self.isCorrectSignalRange(self.data_accessor.signal): run_filter(self.parent(), self.__filter__, self.data_accessor, filter_name='square')