11#include <boost/python/class.hpp>
12#include <boost/python/enum.hpp>
21 boost::python::enum_<Mantid::API::MDNormalization>(
"MDNormalization")
27 class_<IMDWorkspace, bases<Workspace, MDGeometry>, boost::noncopyable>(
"IMDWorkspace", no_init)
29 "Returns the total number of points within the workspace")
31 "Returns the total number of events, contributed to the workspace")
33 "Returns the special coordinate system of the workspace")
35 "Returns True if this is considered to be binned data.")
38 ":class:`~mantid.api.MDNormalization` of the "
41 "For MDEventWorkspaces returns the visual "
42 ":class:`~mantid.api.MDNormalization` of derived "
43 "MDHistoWorkspaces. For all others returns the same as "
44 "displayNormalization.");
#define GET_POINTER_SPECIALIZATION(TYPE)
void export_IMDWorkspace()
Basic MD Workspace Abstract Class.
virtual bool isMDHistoWorkspace() const
virtual uint64_t getNEvents() const =0
virtual Kernel::SpecialCoordinateSystem getSpecialCoordinateSystem() const =0
virtual MDNormalization displayNormalizationHisto() const
virtual uint64_t getNPoints() const =0
Get the number of points associated with the workspace.
virtual MDNormalization displayNormalization() const
@ VolumeNormalization
Divide the signal by the volume of the box/bin.
@ NumEventsNormalization
Divide the signal by the number of events that contributed to it.
@ NoNormalization
Don't normalize = return raw counts.
Encapsulates the registration required for an interface type T that sits on top of a Kernel::DataItem...