10#include "MantidCrystal/DllConfig.h"
16namespace DataObjects {
31 const std::string
name()
const override {
return "SaveIsawPeaks"; };
33 const std::string
summary()
const override {
return "Save a PeaksWorkspace to a ISAW-style ASCII .peaks file."; }
36 int version()
const override {
return 1; };
37 const std::vector<std::string>
seeAlso()
const override {
return {
"LoadIsawPeaks"}; }
39 const std::string
category()
const override {
return "Crystal\\DataHandling;DataHandling\\Isaw"; }
43 bool m_isModulatedStructure =
false;
50 Kernel::V3D findPixelPos(
const std::string &bankName,
int col,
int row);
51 void sizeBanks(
const std::string &bankName,
int &NCOLS,
int &NROWS,
double &xsize,
double &ysize);
53 void writeOffsets(std::ofstream &out,
double qSign,
const std::vector<double> &offset);
Base class from which all concrete algorithm classes should be derived.
Save a PeaksWorkspace to a ISAW-style ASCII .peaks file.
int version() const override
Algorithm's version for identification.
DataObjects::PeaksWorkspace_sptr m_ws
const std::string category() const override
Algorithm's category 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....
const std::string name() const override
Algorithm's name for identification.
Geometry::Instrument_const_sptr inst
const std::string summary() const override
Summary of algorithms purpose.
Geometry::DetectorInfo is an intermediate step towards a DetectorInfo that is part of Instrument-2....
std::shared_ptr< PeaksWorkspace > PeaksWorkspace_sptr
Typedef for a shared pointer to a peaks workspace.
std::shared_ptr< const Instrument > Instrument_const_sptr
Shared pointer to an const instrument object.
Helper class which provides the Collimation Length for SANS instruments.