Package adams.data.threewayfilter
Class DownSample
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.data.filter.AbstractFilter<T>
-
- adams.data.filter.DownSample<ThreeWayData>
-
- adams.data.threewayfilter.DownSample
-
- 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<ThreeWayData>,Serializable,Comparable
public class DownSample extends adams.data.filter.DownSample<ThreeWayData>
A filter that returns only every n-th 1st level and 2nd level point.
-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
-nth <int> (property: nthPoint) Only every n-th point will be output. default: 1 minimum: 1
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DownSample()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected adams.data.container.DataPointcopy(int index, List<adams.data.container.DataPoint> points)Creates a copy of the data point.StringglobalInfo()Returns a string describing the object.-
Methods inherited from class adams.data.filter.DownSample
defineOptions, getNthPoint, nthPointTipText, processData, setNthPoint
-
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
-
globalInfo
public String globalInfo()
Returns a string describing the object.- Specified by:
globalInfoin interfaceadams.core.GlobalInfoSupporter- Overrides:
globalInfoin classadams.data.filter.DownSample<ThreeWayData>- Returns:
- a description suitable for displaying in the gui
-
copy
protected adams.data.container.DataPoint copy(int index, List<adams.data.container.DataPoint> points)Creates a copy of the data point.- Overrides:
copyin classadams.data.filter.DownSample<ThreeWayData>- Parameters:
index- the index in the data point list to copypoints- the list of data points- Returns:
- the copy of the specified data point
-
-