Package adams.data.spectrumfilter
Class LOWESS
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.data.filter.AbstractFilter<T>
-
- adams.data.filter.AbstractLOWESS<Spectrum>
-
- adams.data.spectrumfilter.LOWESS
-
- 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<adams.data.filter.Filter>
,adams.core.SizeOfHandler
,adams.core.TechnicalInformationHandler
,adams.data.filter.Filter<Spectrum>
,Serializable
,Comparable
public class LOWESS extends adams.data.filter.AbstractLOWESS<Spectrum>
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: 2242 $
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LOWESS()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Point2D
convert(adams.data.container.DataPoint point)
Returns the X/Y values of the DataPoint as Point2D.protected adams.data.container.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
-
-
-
-
Method Detail
-
convert
protected Point2D convert(adams.data.container.DataPoint point)
Returns the X/Y values of the DataPoint as Point2D.- Specified by:
convert
in classadams.data.filter.AbstractLOWESS<Spectrum>
- Parameters:
point
- the point to get the X/Y values from- Returns:
- the X/Y values as Point2D
-
-