WeightedMeanMD v1

../_images/WeightedMeanMD-v1_dlg.png

WeightedMeanMD dialog.

Table of Contents

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: Algorithms | MDAlgorithms | MDArithmetic

Source

C++ source: WeightedMeanMD.cpp

C++ header: WeightedMeanMD.h