def __init__(self, rtdc_ds):
        """Boolean filter arrays for RT-DC measurements

        Parameters
        ----------
        rtdc_ds: instance of RTDCBase
            The RT-DC dataset the filter applies to
        """
        #: Instance of RTDCBase the filter applies to
        self.rtdc_ds = rtdc_ds
        self._filters = {}

        #: All filters combined (see :func:`Filter.update`)
        self.all = np.ones(len(rtdc_ds), dtype=bool)
        #: Invalid (nan/inf) events
        self.invalid = np.ones(len(rtdc_ds), dtype=bool)
        #: Reserved for manual filtering
        self.manual = np.ones(len(rtdc_ds), dtype=bool)
        #: Polygon filters
        self.polygon = np.ones(len(rtdc_ds), dtype=bool)
        # old filter configuration of `rtdc_ds`
        self._old_config = {}
def __init__ ( self , rtdc_ds ) : self . rtdc_ds = rtdc_ds self . _filters = { } self . all = np . ones ( len ( rtdc_ds ) , dtype = bool ) self . invalid = np . ones ( len ( rtdc_ds ) , dtype = bool ) self . manual = np . ones ( len ( rtdc_ds ) , dtype = bool ) self . polygon = np . ones ( len ( rtdc_ds ) , dtype = bool ) self . _old_config = { }
Boolean filter arrays for RT-DC measurements

        Parameters
        ----------
        rtdc_ds: instance of RTDCBase
            The RT-DC dataset the filter applies to