Skip to content
Snippets Groups Projects
Commit 8c6dcd5a authored by Pete Peterson's avatar Pete Peterson
Browse files

Merge pull request #14002 from...

Merge pull request #14002 from mantidproject/13828_fix_instrument_position_in_reflectometry_reduction

13828 fix instrument position in reflectometry reduction
parents 6ac1c250 231ae916
No related branches found
No related tags found
No related merge requests found
......@@ -110,9 +110,8 @@ void ReflectometryReductionOneAuto::init() {
"I0 monitor workspace index");
declareProperty(new PropertyWithValue<std::string>("ProcessingInstructions",
"", Direction::Input),
"Processing commands to select and add spectrum to make a "
"detector workspace. See [[PeformIndexOperations]] for "
"syntax.");
"Grouping pattern of workspace indices to yield only the"
" detectors of interest. See GroupDetectors for syntax.");
declareProperty("WavelengthMin", Mantid::EMPTY_DBL(),
"Wavelength Min in angstroms", Direction::Input);
declareProperty("WavelengthMax", Mantid::EMPTY_DBL(),
......
......@@ -13,13 +13,19 @@ Facade over :ref:`algm-ReflectometryReductionOne`.
Pulls numeric parameters out of the instrument parameters where possible. You can override any of these automatically applied defaults by providing your own value for the input.
See :ref:`algm-ReflectometryReductionOne` for more information on the wrapped algorithm.
ProcessingInstructions
######################
If ProcessingInstructions is not set its value is inferred from other properties:
* If AnalysisMode = PointDetectorAnalaysis and PointDetectorStart = PointDetectorStop then the spectrum specified by PointDetectorStart is used.
* If AnalysisMode = PointDetectorAnalaysis and PointDetectorStart ≠ PointDetectorStop then the sum of the spectra from PointDetectorStart to PointDetectorStop is used.
* If AnalysisMode = MultiDetectorAnalaysis then all of the spectra from MultiDetectorStart onwards are used.
See :ref:`algm-ReflectometryReductionOne` for more information on the wrapped algorithm.
Note, the ProcessingInstructions are workspace indicies, not detector IDs. The first few workspaces may correspond to monitors, rather than detectors of interest.
For the syntax of this property, see :ref:`algm-GroupDetectors`.
Workflow for WorkspaceGroups
############################
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment