13#include "MantidDataHandling/DllConfig.h"
20namespace DataHandling {
60 const std::string
name()
const override {
return "SaveNXTomo"; }
63 const std::string
summary()
const override {
64 return "Saves one or more workspaces (of type MatrixWorkspace) to a file "
65 "in the NXTomo format.";
69 int version()
const override {
return (1); }
70 const std::vector<std::string>
seeAlso()
const override {
return {
"SaveNexusProcessed"}; }
74 return "DataHandling\\Nexus;DataHandling\\Imaging;"
75 "Diffraction\\DataHandling";
84 bool processGroups()
override;
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
Nexus::DimVector m_slabSize
const std::string summary() const override
Summary of algorithms purpose.
std::vector< DataObjects::Workspace2D_sptr > m_workspaces
Nexus::DimVector m_infDimensions
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.
Nexus::DimVector m_dimensions
const std::string name() const override
Algorithm's name for identification overriding a virtual method.
Nexus::DimVector m_slabStart
std::unique_ptr< Nexus::File > m_nxFile
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
std::vector< dimsize_t > DimVector
Helper class which provides the Collimation Length for SANS instruments.