public class PlotOpComplLogDepth extends AbstractOperator
isCancelable, name, parentTask, pcs, type| Constructor and Description |
|---|
PlotOpComplLogDepth() |
| Modifier and Type | Method and Description |
|---|---|
private byte[] |
calcCompressedSignal_GZIB(Vector<Double> signal)
This method calculates and returns compressed signal
|
private byte[] |
calcCompressedSignal_ZLIB(Vector<Double> signal)
This method calculates and returns compressed signal
|
private byte[] |
calcDecompressedSignal_GZIB(byte[] array)
This method decompresses byte array
|
private byte[] |
calcDecompressedSignal_ZLIB(byte[] array)
This method decompresses byte array
|
private Double |
calcMean(Vector<Double> data1D)
This method calculates the mean of a data series
|
String |
getName()
Gets the unique name of the
IOperator by returning the
"GlobalName" element from the resources[][] of the
associated IOperatorDescriptor. |
OperatorType |
getType()
Gets the type of the operator listed in an enumeration.
|
IResult |
run(IWorkPackage wp)
This method contains the entire logic (algorithm) of the operator.
|
addProgressListener, fireProgressChanged, getParentTask, getPcs, getProgressListeners, initializeOperator, isCancelable, isCancelled, setCancelable, setParentTaskprivate Double calcMean(Vector<Double> data1D)
data1D - private byte[] calcCompressedSignal_ZLIB(Vector<Double> signal)
signal - 1D vectorprivate byte[] calcCompressedSignal_GZIB(Vector<Double> signal)
signal - 1D vectorprivate byte[] calcDecompressedSignal_ZLIB(byte[] array)
byte[] - array compressedprivate byte[] calcDecompressedSignal_GZIB(byte[] array)
byte[] - array compressedpublic IResult run(IWorkPackage wp)
IOperatorIOperator does not declare any class members, since the execution
of this code must be thread-safe.run in interface IOperatorrun in class AbstractOperatorwp - the parameters and sourcesIResult containing all processed datapublic String getName()
IOperatorIOperator by returning the
"GlobalName" element from the resources[][] of the
associated IOperatorDescriptor.getName in interface IOperatorgetName in class AbstractOperatorpublic OperatorType getType()
IOperatorgetType in interface IOperatorgetType in class AbstractOperatorOperatorTypeCopyright © 2009–2017 Helmut Ahammer, Philipp Kainz. All rights reserved.