Class SavitzkyGolayRange
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- weka.filters.unsupervised.attribute.SavitzkyGolayRange
-
- All Implemented Interfaces:
adams.core.Destroyable,adams.core.GlobalInfoSupporter,adams.core.logging.LoggingLevelHandler,adams.core.logging.LoggingSupporter,adams.core.option.OptionHandler,adams.core.SizeOfHandler,Serializable
public class SavitzkyGolayRange extends adams.core.option.AbstractOptionHandlerRange definition for a SavitzkyGolay filter setup.- Version:
- $Revision$
- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected intm_DerivativeOrderthe order of the derivative.protected intm_Endthe end of the range.protected intm_NumPointsthe number of points (window size = numpoints*2 + 1).protected intm_PolynomialOrderthe polynomial order.protected intm_Startthe start of the range.
-
Constructor Summary
Constructors Constructor Description SavitzkyGolayRange()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddefineOptions()Adds options to the internal list of options.StringderivativeOrderTipText()Returns the tip text for this property.StringendTipText()Returns the tip text for this property.intgetDerivativeOrder()Returns the order of the derivative.intgetEnd()Returns the last amplitudeintgetNumPoints()Returns the number of points for the window (window = numPoints*2 + 1).intgetPolynomialOrder()Returns the polynominal order.intgetStart()Returns the first amplitudeStringglobalInfo()Returns a string describing the object.StringnumPointsTipText()Returns the tip text for this property.StringpolynomialOrderTipText()Returns the tip text for this property.voidsetDerivativeOrder(int value)Sets the order of the derivative.voidsetEnd(int value)Sets the last amplitude.voidsetNumPoints(int value)Sets the number of points for the window (window = numPoints*2 + 1).voidsetPolynomialOrder(int value)Sets the polynomial order.voidsetStart(int value)Sets the first amplitude.StringstartTipText()Returns the tip text for this property.-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, initialize, loggingLevelTipText, newOptionManager, reset, setLoggingLevel, toCommandLine, toString
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
-
-
-
Field Detail
-
m_Start
protected int m_Start
the start of the range.
-
m_End
protected int m_End
the end of the range.
-
m_PolynomialOrder
protected int m_PolynomialOrder
the polynomial order.
-
m_DerivativeOrder
protected int m_DerivativeOrder
the order of the derivative.
-
m_NumPoints
protected int m_NumPoints
the number of points (window size = numpoints*2 + 1).
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing the object.- Specified by:
globalInfoin interfaceadams.core.GlobalInfoSupporter- Specified by:
globalInfoin classadams.core.option.AbstractOptionHandler- Returns:
- a description suitable for displaying in the gui
-
defineOptions
public void defineOptions()
Adds options to the internal list of options.- Specified by:
defineOptionsin interfaceadams.core.option.OptionHandler- Overrides:
defineOptionsin classadams.core.option.AbstractOptionHandler
-
setStart
public void setStart(int value)
Sets the first amplitude.- Parameters:
value- the first amplitude
-
getStart
public int getStart()
Returns the first amplitude- Returns:
- the first amplitude
-
startTipText
public String startTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
setEnd
public void setEnd(int value)
Sets the last amplitude.- Parameters:
value- the last amplitude
-
getEnd
public int getEnd()
Returns the last amplitude- Returns:
- the last amplitude
-
endTipText
public String endTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
setPolynomialOrder
public void setPolynomialOrder(int value)
Sets the polynomial order.- Parameters:
value- the order
-
getPolynomialOrder
public int getPolynomialOrder()
Returns the polynominal order.- Returns:
- the order
-
polynomialOrderTipText
public String polynomialOrderTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
setDerivativeOrder
public void setDerivativeOrder(int value)
Sets the order of the derivative.- Parameters:
value- the order
-
getDerivativeOrder
public int getDerivativeOrder()
Returns the order of the derivative.- Returns:
- the order
-
derivativeOrderTipText
public String derivativeOrderTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
setNumPoints
public void setNumPoints(int value)
Sets the number of points for the window (window = numPoints*2 + 1).- Parameters:
value- the number of points
-
getNumPoints
public int getNumPoints()
Returns the number of points for the window (window = numPoints*2 + 1).- Returns:
- the number of points
-
numPointsTipText
public String numPointsTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
-