GreaterThanMD v1

../_images/GreaterThanMD-v1_dlg.png

GreaterThanMD dialog.

Table of Contents

Summary

Perform the GreaterThan boolean operation on two MDHistoWorkspaces.

Properties

Name Direction Type Default Description
LHSWorkspace Input IMDWorkspace Mandatory An MDEventWorkspace, MDHistoWorkspace or WorkspaceSingleValue as the left-hand side of the operation.
RHSWorkspace Input IMDWorkspace Mandatory An MDEventWorkspace, MDHistoWorkspace or WorkspaceSingleValue as the right-hand side of the operation.
OutputWorkspace Output IMDWorkspace Mandatory Name of the output MDEventWorkspace or MDHistoWorkspace.

Description

Perform the > (greater-than) boolean operation on two MDHistoWorkspaces or a MDHistoWorkspace and a scalar. The output workspace has a signal of 0.0 to mean “false” and a signal of 1.0 to mean “true”. Errors are 0.

For two MDHistoWorkspaces, the operation is performed element-by-element.

For a MDHistoWorkspace and a scalar, the operation is performed on each element of the output.

Categories: Algorithms | MDAlgorithms\MDArithmetic

Source

C++ source: GreaterThanMD.cpp (last modified: 2017-02-01)

C++ header: GreaterThanMD.h (last modified: 2016-06-14)