13#include "MantidDataHandling/DllConfig.h"
19namespace DataHandling {
59 const std::string
name()
const override {
return "SaveNXTomo"; }
62 const std::string
summary()
const override {
63 return "Saves one or more workspaces (of type MatrixWorkspace) to a file "
64 "in the NXTomo format.";
68 int version()
const override {
return (1); }
69 const std::vector<std::string>
seeAlso()
const override {
return {
"SaveNexusProcessed"}; }
73 return "DataHandling\\Nexus;DataHandling\\Imaging;"
74 "Diffraction\\DataHandling";
83 bool processGroups()
override;
86 ::NeXus::File setupFile();
IPeaksWorkspace_sptr workspace
Base class from which all concrete algorithm classes should be derived.
Saves a workspace into a NeXus/HDF5 NXTomo file.
static const std::string NXTOMO_VER
file format version
const std::string summary() const override
Summary of algorithms purpose.
std::vector< DataObjects::Workspace2D_sptr > m_workspaces
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
int version() const override
Algorithm's version.
std::vector< int64_t > m_slabSize
const std::string name() const override
Algorithm's name for identification overriding a virtual method.
std::vector< int64_t > m_dimensions
std::vector< int64_t > m_slabStart
std::vector< int64_t > m_infDimensions
const std::string category() const override
Algorithm's category for identification.
std::string m_filename
The filename of the output file.
std::shared_ptr< Workspace2D > Workspace2D_sptr
shared pointer to Mantid::DataObjects::Workspace2D
Helper class which provides the Collimation Length for SANS instruments.