Mantid
|
Functions | |
DataObjects::MDEventWorkspace3Lean::sptr | makeFileBackedMDEW (const std::string &wsName, bool fileBacked, long numEvents, Kernel::SpecialCoordinateSystem coord) |
Make a (optionally) file backed MDEventWorkspace with nEvents fake data points the points are randomly distributed within the box (nEvents>0) or homogeneously and regularly spread through the box (nEvents<0) More... | |
DataObjects::MDEventWorkspace3Lean::sptr | makeFileBackedMDEWwithMDFrame (const std::string &wsName, bool fileBacked, const Mantid::Geometry::MDFrame &frame, long numEvents, Kernel::SpecialCoordinateSystem coord) |
Make a (optionally) file backed MDEventWorkspace with nEvents fake data points the points are randomly distributed within the box (nEvents>0) or homogeneously and regularly spread through the box (nEvents<0) More... | |
DataObjects::MDEventWorkspace3Lean::sptr Mantid::MDAlgorithms::MDAlgorithmsTestHelper::makeFileBackedMDEW | ( | const std::string & | wsName, |
bool | fileBacked, | ||
long | numEvents, | ||
Kernel::SpecialCoordinateSystem | coord | ||
) |
Make a (optionally) file backed MDEventWorkspace with nEvents fake data points the points are randomly distributed within the box (nEvents>0) or homogeneously and regularly spread through the box (nEvents<0)
wsName | :: name of the workspace in ADS |
fileBacked | :: true for file-backed |
numEvents | :: number of events in the target workspace distributed randomly if numEvents>0 or regularly & homogeneously if numEvents<0 |
coord | :: Required coordinate system |
Definition at line 36 of file MDAlgorithmsTestHelper.cpp.
References Mantid::Kernel::SingletonHolder< T >::Instance(), Mantid::DataHandling::numEvents(), and std::to_string().
DataObjects::MDEventWorkspace3Lean::sptr Mantid::MDAlgorithms::MDAlgorithmsTestHelper::makeFileBackedMDEWwithMDFrame | ( | const std::string & | wsName, |
bool | fileBacked, | ||
const Mantid::Geometry::MDFrame & | frame, | ||
long | numEvents, | ||
Kernel::SpecialCoordinateSystem | coord | ||
) |
Make a (optionally) file backed MDEventWorkspace with nEvents fake data points the points are randomly distributed within the box (nEvents>0) or homogeneously and regularly spread through the box (nEvents<0)
wsName | :: name of the workspace in ADS |
fileBacked | :: true for file-backed |
frame,: | the required frame |
numEvents | :: number of events in the target workspace distributed randomly if numEvents>0 or regularly & homogeneously if numEvents<0 |
coord | :: Required coordinate system |
Definition at line 71 of file MDAlgorithmsTestHelper.cpp.
References Mantid::Kernel::SingletonHolder< T >::Instance(), Mantid::DataHandling::numEvents(), and std::to_string().