\(\renewcommand\AA{\unicode{x212B}}\)
WeightedMeanMD v1¶
Summary¶
Find weighted mean of two MDHistoWorkspaces.
See Also¶
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¶
Takes two MDHistoWorkspaces and calculates the weighted mean for each bin. See WeightedMean v1 for more details on the algorithm workings. Both inputs must be MDHistoWorkspaces, the algorithm will not run with MDEventWorkspaces.
Categories: AlgorithmIndex | MDAlgorithms\MDArithmetic
Source¶
C++ header: WeightedMeanMD.h
C++ source: WeightedMeanMD.cpp