WeightedMeanMD v1

../_images/WeightedMeanMD-v1_dlg.png

WeightedMeanMD dialog.

Summary

Find weighted mean of 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

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++ source: WeightedMeanMD.cpp (last modified: 2019-03-20)

C++ header: WeightedMeanMD.h (last modified: 2018-10-05)