10#include "MantidCrystal/DllConfig.h"
29 const std::string
name()
const override {
return "LoadIsawPeaks"; }
32 const std::string
summary()
const override {
return "Load an ISAW-style .peaks file into a PeaksWorkspace."; }
35 int version()
const override {
return 1; }
36 const std::vector<std::string>
seeAlso()
const override {
return {
"SaveIsawPeaks"}; }
39 const std::string
category()
const override {
return "Crystal\\DataHandling;DataHandling\\Isaw"; }
47 std::vector<double> m_offset1 = {0.0, 0.0, 0.0};
48 std::vector<double> m_offset2 = {0.0, 0.0, 0.0};
49 std::vector<double> m_offset3 = {0.0, 0.0, 0.0};
62 int &seqNum,
const std::string &bankName,
double qSign);
67 std::string readPeakBlockHeader(std::string lastStr, std::ifstream &in,
int &run,
int &detName,
double &chi,
68 double &phi,
double &omega,
double &monCount);
Defines an interface to an algorithm that loads a file so that it can take part in the automatic sele...
Load an ISAW-style .peaks or .integrate file into a PeaksWorkspace.
std::map< std::string, size_t > m_bankIndices
Local cache of bank component indices used in file.
const std::string category() const override
Algorithm's category for identification.
const std::string name() const override
Algorithm's name for identification.
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 for identification.
bool m_isModulatedStructure
Flag for reading modulated structures.
const std::string summary() const override
Summary of algorithms purpose.
Structure describing a single-crystal peak.
ComponentInfo : Provides a component centric view on to the instrument.
Defines a wrapper around an open file.
std::shared_ptr< PeaksWorkspace > PeaksWorkspace_sptr
Typedef for a shared pointer to a peaks workspace.
Helper class which provides the Collimation Length for SANS instruments.