47 virtual signal_t getErrorAt(
size_t index1,
size_t index2,
size_t index3,
size_t index4)
const = 0;
64 virtual size_t getLinearIndex(
size_t index1,
size_t index2,
size_t index3)
const = 0;
65 virtual size_t getLinearIndex(
size_t index1,
size_t index2,
size_t index3,
size_t index4)
const = 0;
77 virtual bool hasOrientedLattice()
const override {
return MultipleExperimentInfos::hasOrientedLattice(); }
83 const std::string toString()
const override;
double value
The value of the point.
std::map< DeltaEMode::Type, std::string > index
Abstract interface to MDHistoWorkspace, for use in exposing to Python.
virtual signal_t & errorSquaredAt(size_t index)=0
virtual Mantid::Kernel::VMD getCenter(size_t linearIndex) const =0
virtual signal_t getSignalNormalizedAt(size_t index1, size_t index2) const =0
virtual signal_t getSignalAt(size_t index) const =0
virtual const signal_t * getErrorSquaredArray() const =0
virtual signal_t getErrorNormalizedAt(size_t index) const =0
virtual const signal_t * getNumEventsArray() const =0
virtual signal_t getSignalAt(size_t index1, size_t index2, size_t index3, size_t index4) const =0
IMDHistoWorkspace(const IMDHistoWorkspace &)=default
Protected copy constructor. May be used by childs for cloning.
IMDHistoWorkspace_uptr cloneEmpty() const
Returns a default-initialized clone of the workspace.
IMDHistoWorkspace * doClone() const override=0
Virtual clone method. Not implemented to force implementation in children.
virtual signal_t & signalAt(size_t index)=0
virtual signal_t getErrorNormalizedAt(size_t index1, size_t index2, size_t index3) const =0
IMDHistoWorkspace()=default
virtual signal_t getErrorAt(size_t index1, size_t index2, size_t index3) const =0
virtual signal_t getSignalAt(size_t index1, size_t index2) const =0
virtual signal_t getSignalNormalizedAt(size_t index1, size_t index2, size_t index3, size_t index4) const =0
virtual signal_t * mutableNumEventsArray()=0
virtual signal_t getSignalNormalizedAt(size_t index) const =0
virtual void setErrorSquaredAt(size_t index, signal_t value)=0
virtual double & operator[](const size_t &index)=0
virtual void setCoordinateSystem(const Kernel::SpecialCoordinateSystem coordinateSystem)=0
virtual const signal_t * getSignalArray() const =0
virtual LinePlot getLineData(const Mantid::Kernel::VMD &start, const Mantid::Kernel::VMD &end, Mantid::API::MDNormalization normalize) const =0
virtual signal_t * mutableSignalArray()=0
virtual void setDisplayNormalization(const Mantid::API::MDNormalization &preferredNormalization)=0
virtual signal_t getErrorAt(size_t index1, size_t index2) const =0
virtual void setSignalAt(size_t index, signal_t value)=0
virtual coord_t getInverseVolume() const =0
See the MDHistoWorkspace definition for descriptions of these.
virtual signal_t * mutableErrorSquaredArray()=0
virtual signal_t getErrorNormalizedAt(size_t index1, size_t index2) const =0
virtual size_t getLinearIndex(size_t index1, size_t index2) const =0
virtual signal_t getSignalAt(size_t index1, size_t index2, size_t index3) const =0
virtual signal_t getErrorAt(size_t index1, size_t index2, size_t index3, size_t index4) const =0
virtual void setTo(signal_t signal, signal_t errorSquared, signal_t numEvents)=0
virtual signal_t getSignalNormalizedAt(size_t index1, size_t index2, size_t index3) const =0
virtual signal_t getErrorAt(size_t index) const =0
IMDHistoWorkspace & operator=(const IMDHistoWorkspace &)=delete
IMDHistoWorkspace_uptr clone() const
Returns a clone of the workspace.
virtual signal_t getErrorNormalizedAt(size_t index1, size_t index2, size_t index3, size_t index4) const =0
virtual size_t getLinearIndex(size_t index1, size_t index2, size_t index3) const =0
virtual size_t getLinearIndex(size_t index1, size_t index2, size_t index3, size_t index4) const =0
virtual bool hasOrientedLattice() const override
IMDHistoWorkspace * doCloneEmpty() const override=0
Virtual cloneEmpty method.
Basic MD Workspace Abstract Class.
Small class that allows a MDEventWorkspace or a MDHistoWorkspace to hold several ExperimentInfo class...
MDNormalization
Enum describing different ways to normalize the signal in a MDWorkspace.
std::unique_ptr< IMDHistoWorkspace > IMDHistoWorkspace_uptr
unique pointer to Mantid::API::IMDHistoWorkspace
SpecialCoordinateSystem
Special coordinate systems for Q3D.
Helper class which provides the Collimation Length for SANS instruments.
float coord_t
Typedef for the data type to use for coordinate axes in MD objects such as MDBox, MDEventWorkspace,...
double signal_t
Typedef for the signal recorded in a MDBox, etc.
Holds X, Y, E for a line plot.