Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mantidproject
mantid
Commits
3c38ec28
Commit
3c38ec28
authored
13 years ago
by
Janik Zikovsky
Browse files
Options
Downloads
Patches
Plain Diff
Refs #5000: MinusMD wiki docs
parent
c27cfedf
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Code/Mantid/Framework/MDAlgorithms/src/MinusMD.cpp
+7
-4
7 additions, 4 deletions
Code/Mantid/Framework/MDAlgorithms/src/MinusMD.cpp
with
7 additions
and
4 deletions
Code/Mantid/Framework/MDAlgorithms/src/MinusMD.cpp
+
7
−
4
View file @
3c38ec28
...
...
@@ -7,8 +7,11 @@ Subtract two [[MDHistoWorkspace]]'s or a MDHistoWorkspace and a scalar.
** The scalar is subtracted from every element of the MDHistoWorkspace. The squares of errors are summed.
* '''Scalar - MDHistoWorkspace'''
** This is not allowed.
* '''[[MDEventWorkspace]]'s'''
** This is not currently supported, but it could be in the future.
* '''[[MDEventWorkspace]] - [[MDEventWorkspace]]'''
** The signal of each event on the right-hand-side is multiplied by -1 before the events are summed.
** The number of events in the output MDEventWorkspace is that of the LHS and RHS workspaces put together.
* '''[[MDEventWorkspace]] - Scalar or MDHistoWorkspace'''
** This is not possible.
== Usage ==
...
...
@@ -63,8 +66,8 @@ namespace MDAlgorithms
/// Sets documentation strings for this algorithm
void
MinusMD
::
initDocs
()
{
this
->
setWikiSummary
(
"Subtract two [[MD
Histo
Workspace]]s"
);
this
->
setOptionalMessage
(
"Subtract two MD
Histo
Workspaces."
);
this
->
setWikiSummary
(
"Subtract two [[MDWorkspace]]s"
);
this
->
setOptionalMessage
(
"Subtract two MDWorkspaces."
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment