MaskDetectorsIf
From MantidProject
Contents |
Summary
Adjusts the selected field for a CalFile depending on the values in the input workspace.
Properties
| Order | Name | Direction | Type | Default | Description |
|---|---|---|---|---|---|
| 1 | InputWorkspace | Input | string | Mandatory | A 1D Workspace that contains values to select against |
| 2 | InputCalFile | Input | string | Mandatory | The name of the CalFile with grouping data
Allowed Values are: *.cal |
| 3 | Mode | Input | string | DeselectIf | Mode to select or deselect detectors based on comparison with values
Allowed Values are: DeselectIf, SelectIf |
| 4 | Operator | Input | string | Equal | Unary operator to compare to given values
Allowed Values are: Equal, Greater, GreaterEqual, Less, LessEqual, NotEqual |
| 5 | Value | Input | number | 0.0 | The number to compare against |
| 6 | OutputCalFile | Input | string | Mandatory | The name of the new CalFile with grouping data
Allowed Values are: *.cal |
Description
Iterates over the input workspace evaluating the test for each single value spectrum. If the detectors should be masked it deselects all of the contributing detectors in the output calfile. All other aspects of the InputCalFile are copied over to the OutputCalFile.
Source Code
Header MaskDetectorsIf.h
Source MaskDetectorsIf.cpp
