Package adams.data.smoothing
Class TimeseriesSavitzkyGolayBased
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.data.smoothing.AbstractSmoother<T>
-
- adams.data.smoothing.AbstractSavitzkyGolayBased<Timeseries>
-
- adams.data.smoothing.TimeseriesSavitzkyGolayBased
-
- All Implemented Interfaces:
CleanUpHandler
,Destroyable
,GlobalInfoSupporter
,LoggingLevelHandler
,LoggingSupporter
,OptionHandler
,ShallowCopySupporter<AbstractSmoother>
,SizeOfHandler
,TechnicalInformationHandler
,Serializable
,Comparable
public class TimeseriesSavitzkyGolayBased extends AbstractSavitzkyGolayBased<Timeseries>
A Savitzky-Golay based smoothing algorithm.
It uses a Savitzky-Golay filter with derivative order 0 and adding of mass-spec data turned on.
For more information on Savitzky-Golay see:
A. Savitzky, Marcel J.E. Golay (1964). Smoothing and Differentiation of Data by Simplified Least Squares Procedures. Analytical Chemistry. 36:1627-1639.
William H. Press, Saul A. Teukolsky, William T. Vetterling, Brian P. Flannery (1992). Savitzky-Golay Smoothing Filters.
Valid options are:
-logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel) The logging level for outputting errors and debugging output. default: WARNING
-polynomial <int> (property: polynomialOrder) The polynomial order to use, must be at least 2. default: 2
-left <int> (property: numPointsLeft) The number of points left of a data point, >= 0. default: 3
-right <int> (property: numPointsRight) The number of points right of a data point, >= 0. default: 3
- 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.smoothing.AbstractSmoother
AbstractSmoother.SmootherJob<T extends DataContainer>
-
-
Field Summary
-
Fields inherited from class adams.data.smoothing.AbstractSavitzkyGolayBased
m_SavitzkyGolay
-
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 TimeseriesSavitzkyGolayBased()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AbstractSavitzkyGolay
getDefault()
Returns the default Savitzky-Golay filter.-
Methods inherited from class adams.data.smoothing.AbstractSavitzkyGolayBased
defineOptions, getNumPointsLeft, getNumPointsRight, getPolynomialOrder, getTechnicalInformation, globalInfo, initialize, numPointsLeftTipText, numPointsRightTipText, polynomialOrderTipText, processData, setNumPointsLeft, setNumPointsRight, setPolynomialOrder
-
Methods inherited from class adams.data.smoothing.AbstractSmoother
checkData, cleanUp, compareTo, destroy, equals, forCommandLine, forName, getSmoothers, reset, shallowCopy, shallowCopy, smooth
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, 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
-
getDefault
protected AbstractSavitzkyGolay getDefault()
Returns the default Savitzky-Golay filter.- Specified by:
getDefault
in classAbstractSavitzkyGolayBased<Timeseries>
- Returns:
- the default filter
-
-