Class ArrayBinning<T extends Number>

    • Field Detail

      • m_Normalize

        protected boolean m_Normalize
        whether to normalize the data.
      • m_PostProcessing

        protected BinPostProcessing m_PostProcessing
        the post-processing scheme.
      • m_DisplayRanges

        protected boolean m_DisplayRanges
        whether to use the ranges as bin description.
    • Constructor Detail

      • ArrayBinning

        public ArrayBinning()
    • Method Detail

      • setNormalize

        public void setNormalize​(boolean value)
        Sets whether to normalize the data before generating the histogram.
        Parameters:
        value - if true the data gets normalized first
      • getNormalize

        public boolean getNormalize()
        Returns whether to normalize the data before generating the histogram.
        Returns:
        true if the data gets normalized first
      • normalizeTipText

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

        public String algorithmTipText()
        Returns the tip text for this property.
        Specified by:
        algorithmTipText in interface BinningAlgorithmUser
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • postProcessingTipText

        public String postProcessingTipText()
        Returns the tip text for this property.
        Specified by:
        postProcessingTipText in interface BinPostProcessingUser
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setDisplayRanges

        public void setDisplayRanges​(boolean value)
        Sets whether to use the bin ranges as their description rather than a simple index.
        Parameters:
        value - true if to display the ranges
      • getDisplayRanges

        public boolean getDisplayRanges()
        Returns whether to use the bin ranges as their description rather than a simple index.
        Returns:
        true if to display the ranges
      • displayRangesTipText

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

        public int getLength()
        Returns the length of the stored arrays.
        Specified by:
        getLength in interface EqualLengthArrayStatistic
        Returns:
        the length of the arrays, -1 if none stored
      • getMin

        public int getMin()
        Returns the minimum number of arrays that need to be present. -1 for unbounded.
        Specified by:
        getMin in class AbstractArrayStatistic<T extends Number>
        Returns:
        the minimum number, -1 for unbounded
      • getMax

        public int getMax()
        Returns the maximum number of arrays that need to be present. -1 for unbounded.
        Specified by:
        getMax in class AbstractArrayStatistic<T extends Number>
        Returns:
        the maximum number, -1 for unbounded