Class AbstractFormatsBasedMultiSpectrumFilter

  • All Implemented Interfaces:
    adams.core.CleanUpHandler, adams.core.Destroyable, adams.core.GlobalInfoSupporter, adams.core.logging.LoggingLevelHandler, adams.core.logging.LoggingSupporter, adams.core.option.OptionHandler, adams.core.ShallowCopySupporter<AbstractMultiSpectrumFilter>, adams.core.SizeOfHandler, adams.data.filter.OptionalProcessingInfoUpdate, Serializable, Comparable
    Direct Known Subclasses:
    AbstractBinaryFormatsBasedMultiSpectrumFilter, Average, Fusion, Mean, Median

    public abstract class AbstractFormatsBasedMultiSpectrumFilter
    extends AbstractMultiSpectrumFilter
    Ancestor for filters that require the user to specify the formats of the spectra to use for the filtering process.
    Version:
    $Revision$
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Detail

      • m_Formats

        protected adams.core.base.BaseString[] m_Formats
        the formats to average (empty = all).
      • m_NewFormat

        protected String m_NewFormat
        the new format to use.
    • Constructor Detail

      • AbstractFormatsBasedMultiSpectrumFilter

        public AbstractFormatsBasedMultiSpectrumFilter()
    • Method Detail

      • defineOptions

        public void defineOptions()
        Adds options to the internal list of options.
        Specified by:
        defineOptions in interface adams.core.option.OptionHandler
        Overrides:
        defineOptions in class AbstractMultiSpectrumFilter
      • setFormats

        public void setFormats​(adams.core.base.BaseString[] value)
        Sets the formats of the spectra to use.
        Parameters:
        value - the formats
      • getFormats

        public adams.core.base.BaseString[] getFormats()
        Returns the formats of the specta to use.
        Returns:
        the formats
      • formatsTipText

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

        protected abstract String getDefaultNewFormat()
        Returns the default format for the generated spectrum.
        Returns:
        the default format
      • setNewFormat

        public void setNewFormat​(String value)
        Sets the new format for the generated spectrum.
        Parameters:
        value - the new format
      • getNewFormat

        public String getNewFormat()
        Returns the new format for the generated spectrum.
        Returns:
        the new format
      • newFormatTipText

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