Package adams.data.filter
Class TimeseriesLOWESS
-
- All Implemented Interfaces:
CleanUpHandler
,Destroyable
,GlobalInfoSupporter
,LoggingLevelHandler
,LoggingSupporter
,OptionHandler
,ShallowCopySupporter<Filter>
,SizeOfHandler
,TechnicalInformationHandler
,Filter<Timeseries>
,Serializable
,Comparable
public class TimeseriesLOWESS extends AbstractLOWESS<Timeseries>
A filter that applies LOWESS smoothing.
For more information see:
WikiPedia. Local Regression. URL http://en.wikipedia.org/wiki/Lowess.
@misc{missing_id, author = {WikiPedia}, title = {Local Regression}, URL = {http://en.wikipedia.org/wiki/Lowess} }
-logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel) The logging level for outputting errors and debugging output. default: WARNING
-no-id-update <boolean> (property: dontUpdateID) If enabled, suppresses updating the ID of adams.data.id.IDHandler data containers. default: false
-window-size <int> (property: windowSize) The window size to use, must be at least 20. default: 20 minimum: 1
- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class adams.data.filter.AbstractFilter
AbstractFilter.FilterJob<T extends DataContainer>
-
-
Field Summary
-
Fields inherited from class adams.data.filter.AbstractLOWESS
m_WindowSize
-
Fields inherited from class adams.data.filter.AbstractFilter
m_DontUpdateID
-
Fields inherited from class adams.core.option.AbstractOptionHandler
m_OptionManager
-
Fields inherited from class adams.core.logging.LoggingObject
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
-
-
Constructor Summary
Constructors Constructor Description TimeseriesLOWESS()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Point2D
convert(DataPoint point)
Returns the X/Y values of the DataPoint as Point2D.protected DataPoint
newDataPoint(Point2D smoothed)
Creates a new DataPoint from the smoothed one.-
Methods inherited from class adams.data.filter.AbstractLOWESS
defineOptions, getTechnicalInformation, getWindowSize, globalInfo, processData, setWindowSize, windowSizeTipText
-
Methods inherited from class adams.data.filter.AbstractFilter
checkData, cleanUp, compareTo, destroy, dontUpdateIDTipText, equals, filter, forCommandLine, getDontUpdateID, reset, setDontUpdateID, shallowCopy, shallowCopy
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, finishInit, getDefaultLoggingLevel, getOptionManager, initialize, loggingLevelTipText, newOptionManager, setLoggingLevel, toCommandLine, toString
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface adams.core.logging.LoggingLevelHandler
getLoggingLevel, setLoggingLevel
-
Methods inherited from interface adams.core.logging.LoggingSupporter
getLogger, isLoggingEnabled
-
Methods inherited from interface adams.core.option.OptionHandler
cleanUpOptions, getOptionManager, toCommandLine
-
-
-
-
Method Detail
-
convert
protected Point2D convert(DataPoint point)
Returns the X/Y values of the DataPoint as Point2D.- Specified by:
convert
in classAbstractLOWESS<Timeseries>
- Parameters:
point
- the point to get the X/Y values from- Returns:
- the X/Y values as Point2D
-
newDataPoint
protected DataPoint newDataPoint(Point2D smoothed)
Creates a new DataPoint from the smoothed one.- Specified by:
newDataPoint
in classAbstractLOWESS<Timeseries>
- Parameters:
smoothed
- the smoothed data point- Returns:
- the new DataPoint
-
-