Class DifferentialPhaseContrast
java.lang.Object
org.eclipse.dawnsci.analysis.dataset.operations.AbstractOperationBase<DifferentialPhaseContrastModel,OperationData>
org.eclipse.dawnsci.analysis.dataset.operations.AbstractOperation<DifferentialPhaseContrastModel,OperationData>
uk.ac.diamond.scisoft.analysis.processing.operations.image.DifferentialPhaseContrast
- All Implemented Interfaces:
IOperation<DifferentialPhaseContrastModel,OperationData>
public class DifferentialPhaseContrast
extends AbstractOperation<DifferentialPhaseContrastModel,OperationData>
-
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
Modifier and TypeMethodDescriptiongetId()Idea is that user can specify a pixel size and detector distance and the result comes back in radiansGets the rank of input data for the operations algorithm.Gets the rank of output data for the operations algorithm.process(org.eclipse.january.dataset.IDataset dataset, org.eclipse.january.IMonitor monitor) Methods inherited from class org.eclipse.dawnsci.analysis.dataset.operations.AbstractOperation
executeMethods inherited from class org.eclipse.dawnsci.analysis.dataset.operations.AbstractOperationBase
addConfiguredField, copyMetadata, copyMetadata, dispose, equals, getDescription, getFirstAxes, getFirstDiffractionMetadata, getFirstMask, getModel, getModelClass, getName, 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
-
DifferentialPhaseContrast
public DifferentialPhaseContrast()
-
-
Method Details
-
getId
Idea is that user can specify a pixel size and detector distance and the result comes back in radians- Returns:
- The unique id for this operation.
-
process
public OperationData process(org.eclipse.january.dataset.IDataset dataset, org.eclipse.january.IMonitor monitor) - Specified by:
processin classAbstractOperation<DifferentialPhaseContrastModel,OperationData>
-
getInputRank
Description copied from interface:IOperationGets the rank of input data for the operations algorithm. You might be iterating 4D data but when this operation is run on a slice of it, it must be done with a fixed input rank.- Returns:
- rank of slice data which we accept. For instance for integration we input 2(image) and output 1(integration)
-
getOutputRank
Description copied from interface:IOperationGets the rank of output data for the operations algorithm. You might be iterating 4D data but when this operation is run on a slice of it, it must be done with a fixed input rank and this input will result in a fixed output rank.- Returns:
- rank of output data which we return. For instance for integration we input 2(image) and output 1(integration)
-