Class AbstractLevelFilter<R,​C>

    • Field Detail

      • highCut

        protected double highCut
      • lowCut

        protected double lowCut
      • useHighAsFraction

        protected boolean useHighAsFraction
      • useLowAsFraction

        protected boolean useLowAsFraction
    • Constructor Detail

      • AbstractLevelFilter

        public AbstractLevelFilter()
    • Method Detail

      • setHighCut

        public void setHighCut​(double h)
        Set the high threshold for removal. If not set, no filtering will occur.
        Parameters:
        h - the threshold
      • setHighCut

        public void setHighCut​(double highCut,
                               boolean isFraction)
        Parameters:
        highCut -
        isFraction -
      • setLowCut

        public void setLowCut​(double lowCut)
        Set the low threshold for removal.
        Parameters:
        lowCut - the threshold
      • setLowCut

        public void setLowCut​(double lowCut,
                              boolean isFraction)
        Parameters:
        lowCut -
        isFraction -
      • setUseAsFraction

        public void setUseAsFraction​(boolean setting)
        Set the filter to interpret the low and high cuts as fractions; that is, if true, lowcut 0.1 means remove 0.1 of the rows with the lowest values. Otherwise the cuts are interpeted as actual values. Default = false.
        Parameters:
        setting - boolean
      • setUseHighCutAsFraction

        public void setUseHighCutAsFraction​(boolean setting)
        Parameters:
        setting -
      • setUseLowCutAsFraction

        public void setUseLowCutAsFraction​(boolean setting)
        Parameters:
        setting -