Package adams.data.baseline
Class TimeseriesLOWESSBased
-
- All Implemented Interfaces:
CleanUpHandler
,Destroyable
,GlobalInfoSupporter
,LoggingLevelHandler
,LoggingSupporter
,OptionHandler
,ShallowCopySupporter<AbstractBaselineCorrection>
,SizeOfHandler
,Serializable
,Comparable
public class TimeseriesLOWESSBased extends AbstractLOWESSBased<Timeseries>
A baseline correction scheme that uses LOWESS smoothing to determine the baseline.
For more information see:
WikiPedia. 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
-window-size <int> (property: windowSize) The window size to use, must be at least 1. 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.baseline.AbstractBaselineCorrection
AbstractBaselineCorrection.BaselineCorrectionJob<T extends DataContainer>
-
-
Field Summary
-
Fields inherited from class adams.data.baseline.AbstractLOWESSBased
m_Filter
-
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 TimeseriesLOWESSBased()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AbstractLOWESS
getFilter()
Returns a new instance of a LOWESS filter.protected DataPoint
subtract(DataPoint old, DataPoint baseline)
Subtracts the baseline from the old data point and creates a new data point.-
Methods inherited from class adams.data.baseline.AbstractLOWESSBased
defineOptions, getTechnicalInformation, getWindowSize, globalInfo, initialize, processData, setWindowSize, windowSizeTipText
-
Methods inherited from class adams.data.baseline.AbstractBaselineCorrection
checkData, cleanUp, compareTo, correct, doCorrect, equals, forCommandLine, reset, shallowCopy, shallowCopy
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, 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
-
-
-
-
Method Detail
-
getFilter
protected AbstractLOWESS getFilter()
Returns a new instance of a LOWESS filter.- Specified by:
getFilter
in classAbstractLOWESSBased<Timeseries>
- Returns:
- the filter
-
subtract
protected DataPoint subtract(DataPoint old, DataPoint baseline)
Subtracts the baseline from the old data point and creates a new data point.- Specified by:
subtract
in classAbstractLOWESSBased<Timeseries>
- Parameters:
old
- the old data point to subtract the baseline frombaseline
- the baseline value to subtract- Returns:
- the new corrected data point
-
-