Package adams.data.spectrumfilter
Class FFT
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.data.filter.AbstractFilter<T>
-
- adams.data.filter.AbstractFFT<Spectrum>
-
- adams.data.spectrumfilter.FFT
-
- 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 FFT extends adams.data.filter.AbstractFFT<Spectrum>
A filter that transforms the data with Fast Fourier Transform.
For more information see:
Mark Hale (2009). JSci - A science API for Java.
@misc{Hale2009, author = {Mark Hale}, title = {JSci - A science API for Java}, year = {2009}, HTTP = {http://jsci.sourceforge.net/} }
-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
-padding <ZERO> (property: paddingType) The padding type to use. default: ZERO
-inverse <boolean> (property: inverseTransform) If true, then the inverse transform is performed. default: false
-real <boolean> (property: real) If enabled, the real part of the tranformation is returned. default: true
- Version:
- $Revision: 7305 $
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FFT()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected doublegetValue(adams.data.container.DataPoint point)Returns the Y-value of the DataPoint.protected adams.data.container.DataPointnewDataPoint(List<adams.data.container.DataPoint> points, int index, double y)Creates a new DataPoint based on the index and the new Y value.-
Methods inherited from class adams.data.filter.AbstractFFT
defineOptions, getInverseTransform, getPaddingType, getReal, getTechnicalInformation, globalInfo, inverseTransformTipText, paddingTypeTipText, processData, realTipText, setInverseTransform, setPaddingType, setReal
-
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
-
getValue
protected double getValue(adams.data.container.DataPoint point)
Returns the Y-value of the DataPoint.- Specified by:
getValuein classadams.data.filter.AbstractFFT<Spectrum>- Parameters:
point- the point to get the Y-Value from- Returns:
- the Y-value
-
newDataPoint
protected adams.data.container.DataPoint newDataPoint(List<adams.data.container.DataPoint> points, int index, double y)
Creates a new DataPoint based on the index and the new Y value. Used for padded points.- Specified by:
newDataPointin classadams.data.filter.AbstractFFT<Spectrum>- Parameters:
points- the original pointsindex- the index of the padded point in the output datay- the new Y value- Returns:
- the new DataPoint
-
-