Package adams.data.spectrumfilter
Class AbstractStandardiseFilter
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.data.filter.AbstractFilter<Spectrum>
-
- adams.data.spectrumfilter.AbstractStandardiseFilter
-
- 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.data.filter.Filter<Spectrum>
,Serializable
,Comparable
- Direct Known Subclasses:
StandardiseByInterpolation
public abstract class AbstractStandardiseFilter extends adams.data.filter.AbstractFilter<Spectrum>
Ancestor for filters that standardize by interpolation.- Version:
- $Revision$
- Author:
- Michael Fowke
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractStandardiseFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
defineOptions()
Adds options to the internal list of options.String
firstTipText()
Returns the tip text for this property.double
getFirst()
Returns the start data pointdouble
getLast()
Returns the last data pointdouble
getStep()
Returns the stepprotected double
interp(double int_point, List<SpectrumPoint> lsp, int poly)
protected double
L(double x, List<SpectrumPoint> lsp, int m)
String
lastTipText()
Returns the tip text for this property.void
setFirst(double value)
Sets the start data pointvoid
setLast(double value)
Sets the last data pointvoid
setStep(double value)
Sets the stepString
stepTipText()
Returns the tip text for this property.-
Methods inherited from class adams.data.filter.AbstractFilter
checkData, cleanUp, compareTo, destroy, dontUpdateIDTipText, equals, filter, forCommandLine, getDontUpdateID, processData, reset, setDontUpdateID, shallowCopy, shallowCopy
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, finishInit, getDefaultLoggingLevel, getOptionManager, globalInfo, 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
-
defineOptions
public void defineOptions()
Adds options to the internal list of options.- Specified by:
defineOptions
in interfaceadams.core.option.OptionHandler
- Overrides:
defineOptions
in classadams.data.filter.AbstractFilter<Spectrum>
-
setFirst
public void setFirst(double value)
Sets the start data point- Parameters:
value
- the maximum
-
getFirst
public double getFirst()
Returns the start data point- Returns:
- the minimum
-
firstTipText
public String firstTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the gui
-
setLast
public void setLast(double value)
Sets the last data point- Parameters:
value
- the maximum
-
getLast
public double getLast()
Returns the last data point- Returns:
- the maximum
-
lastTipText
public String lastTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the gui
-
setStep
public void setStep(double value)
Sets the step- Parameters:
value
- the maximum
-
getStep
public double getStep()
Returns the step- Returns:
- the maximum
-
stepTipText
public String stepTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the gui
-
L
protected double L(double x, List<SpectrumPoint> lsp, int m)
-
interp
protected double interp(double int_point, List<SpectrumPoint> lsp, int poly)
-
-