Class AbstractHistogram<T extends DataContainer>

    • Field Detail

      • m_Histogram

        protected ArrayHistogram m_Histogram
        the array histogram setup to use.
    • Constructor Detail

      • AbstractHistogram

        public AbstractHistogram()
    • Method Detail

      • getDefaultHistogram

        protected ArrayHistogram getDefaultHistogram()
        Returns the default setup for the array histogram.
        Returns:
        the default
      • setHistogram

        public void setHistogram​(ArrayHistogram value)
        Sets the array histogram setup to use.
        Parameters:
        value - the setup
      • getHistogram

        public ArrayHistogram getHistogram()
        Returns the array histogram setup to use.
        Returns:
        the setup
      • histogramTipText

        public String histogramTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • getY

        protected abstract double getY​(DataPoint point)
        Obtains the Y value from the given data point.
        Parameters:
        point - the data point to extract the Y value from
        Returns:
        the Y value
      • newDataPoint

        protected abstract DataPoint newDataPoint​(int index,
                                                  double y)
        Creates a new data point from the X and Y values.
        Parameters:
        index - the index in the histogram
        y - the raw Y value
        Returns:
        the data point
      • processData

        protected T processData​(T data)
        Performs the actual filtering.
        Specified by:
        processData in class AbstractFilter<T extends DataContainer>
        Parameters:
        data - the data to filter
        Returns:
        the filtered data