10#include "MantidDataHandling/DllConfig.h"
14namespace DataHandling {
22 const std::string
name()
const override {
return "SaveFullprofResolution"; }
24 const std::string
summary()
const override {
25 return "Save a Table workspace, which contains peak profile parameters' "
26 "values, to a Fullprof resolution (.irf) file.";
30 int version()
const override {
return (1); }
31 const std::vector<std::string>
seeAlso()
const override {
return {
"SaveFocusedXYE"}; }
33 const std::string
category()
const override {
return "Diffraction\\DataHandling;DataHandling\\Text"; }
44 void processProperties();
47 std::string toProf10IrfString();
50 std::string toProf9IrfString();
53 void parseTableWorkspace();
56 bool has_key(std::map<std::string, double> profmap,
const std::string &key);
Base class from which all concrete algorithm classes should be derived.
SaveFullprofResolution : TODO: DESCRIPTION.
int m_bankID
Bank to write.
std::string m_outIrfFilename
Output Irf file name.
const std::string summary() const override
Summary of algorithms purpose.
int version() const override
Algorithm's version.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
const std::string category() const override
Algorithm's category for identification.
int m_fpProfileNumber
Profile number.
DataObjects::TableWorkspace_sptr m_profileTableWS
Input table workspace.
const std::string name() const override
Algorithm's name.
std::map< std::string, double > m_profileParamMap
Map containing the name of value of each parameter required by .irf file.
bool m_append
Append to existing file.
std::shared_ptr< TableWorkspace > TableWorkspace_sptr
shared pointer to Mantid::DataObjects::TableWorkspace
Helper class which provides the Collimation Length for SANS instruments.