14#include "MantidDataHandling/DllConfig.h"
19namespace DataHandling {
59 const std::string
name()
const override {
return "LoadDaveGrp"; }
61 const std::string
summary()
const override {
62 return "Loads data from a DAVE grouped ASCII file and stores it in a 2D "
63 "workspace (Workspace2D class).";
67 int version()
const override {
return (1); }
68 const std::vector<std::string>
seeAlso()
const override {
return {
"SaveDaveGrp"}; }
70 const std::string
category()
const override {
return "DataHandling\\Text;Inelastic\\DataHandling"; }
86 void getAxisLength(
size_t &length);
95 void getAxisValues(std::vector<double> &axis,
const std::size_t length);
119 const std::vector<double> &yAxis)
const;
IPeaksWorkspace_sptr workspace
Defines an interface to an algorithm that loads a file so that it can take part in the automatic sele...
Reads the DAVE grouped ASCII format into a workspace.
int version() const override
Algorithm's version.
const std::string name() const override
Algorithm's name.
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::string line
Placeholder for file lines.
std::ifstream ifile
Handle for input data file.
std::size_t nGroups
The number of groups present in the data file.
const std::string summary() const override
Summary of algorithms purpose.
const std::string category() const override
Algorithm's category for identification.
std::size_t xLength
The size of the x-axis in the data file.
Defines a wrapper around an open file.
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
Helper class which provides the Collimation Length for SANS instruments.