11#include "MantidDataHandling/DllConfig.h"
14namespace DataHandling {
21 const std::string name()
const override final;
23 int version()
const override final;
24 const std::vector<std::string>
seeAlso()
const override {
return {
"LoadFITS",
"SaveNXTomo"}; }
26 const std::string category() const override final;
28 const
std::
string summary() const override final;
31 void init() override final;
33 void exec() override final;
35 std::map<
std::
string,
std::
string> validateInputs() override;
43 void writeFITSHeaderEntry(const
std::
string &hdr,
std::ofstream &file);
45 std::
string makeBitDepthHeader(
size_t depth) const;
49 void writePaddingFITSHeaders(
size_t count,
std::ofstream &file);
51 static const
size_t g_maxBitDepth;
52 static const
std::array<
int, 3> g_bitDepths;
53 static const
size_t g_maxBytesPP;
55 static const
size_t g_maxLenHdr;
57 static const
std::
string g_FITSHdrEnd;
58 static const
std::
string g_FITSHdrFirst;
59 static const
std::
string g_bitDepthPre;
60 static const
std::
string g_bitDepthPost;
61 static const
std::
string g_FITSHdrAxes;
62 static const
std::
string g_FITSHdrExtensions;
63 static const
std::
string g_FITSHdrRefComment1;
64 static const
std::
string g_FITSHdrRefComment2;
Base class from which all concrete algorithm classes should be derived.
SaveFITS : Save images in FITS formats.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
Helper class which provides the Collimation Length for SANS instruments.