Class SubtractOperation
java.lang.Object
org.eclipse.dawnsci.analysis.dataset.operations.AbstractOperationBase<ValueModel,OperationData>
uk.ac.diamond.scisoft.analysis.processing.operations.AbstractMathsOperation<ValueModel,OperationData>
uk.ac.diamond.scisoft.analysis.processing.operations.SubtractOperation
- All Implemented Interfaces:
IOperation<ValueModel,OperationData>
Subtracts either one dataset from another or a scalar value from all values of a dataset.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.dawnsci.analysis.dataset.operations.AbstractOperationBase
AbstractOperationBase.OperationComparator -
Field Summary
Fields inherited from class org.eclipse.dawnsci.analysis.dataset.operations.AbstractOperationBase
model -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class uk.ac.diamond.scisoft.analysis.processing.operations.AbstractMathsOperation
execute, getInputRank, getOutputRankMethods inherited from class org.eclipse.dawnsci.analysis.dataset.operations.AbstractOperationBase
addConfiguredField, copyMetadata, copyMetadata, dispose, equals, getDescription, getFirstAxes, getFirstDiffractionMetadata, getFirstMask, getModel, getModelClass, getOriginalDataDimensions, getSliceSeriesMetadata, hashCode, init, isPassUnmodifiedData, isStoreOutput, setConfiguredFields, setDescription, setModel, setName, setPassUnmodifiedData, setStoreOutput, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.dawnsci.analysis.api.processing.IOperation
destroy, getFilenameSuffix
-
Constructor Details
-
SubtractOperation
public SubtractOperation()
-
-
Method Details
-
operation
protected org.eclipse.january.dataset.IDataset operation(org.eclipse.january.dataset.IDataset a, Object value) - Specified by:
operationin classAbstractMathsOperation<ValueModel,OperationData>
-
getId
- Returns:
- The unique id for this operation.
-
getName
Description copied from interface:IOperationThe operation name. The operation service allows operations to be found by name which can be used to determine available operations. This is usually set by the extension point, so there is no need to implement this if extending AbstractOperation- Specified by:
getNamein interfaceIOperation<ValueModel,OperationData> - Overrides:
getNamein classAbstractOperationBase<ValueModel,OperationData> - Returns:
- OperationType
-