14#include "MantidDataHandling/DllConfig.h"
18namespace DataHandling {
64 const std::string
name()
const override {
return "LoadLog"; };
66 const std::string
summary()
const override {
return "Load ISIS log file(s) into a workspace."; }
69 int version()
const override {
return 1; };
70 const std::vector<std::string>
seeAlso()
const override {
return {
"AddSampleLog",
"LoadNexusLogs"}; }
72 const std::string
category()
const override {
return "DataHandling\\Logs"; }
95 std::string stringToLower(std::string strToConvert);
98 bool isAscii(
const std::string &filename);
102 bool isDateTimeString(
const std::string &str)
const;
106 bool isOldDateTimeFormat(std::ifstream &logFileStream)
const;
110 std::string extractLogName(
const std::vector<std::string> &logName);
113 bool SNSTextFormatColumns(
const std::string &input, std::vector<double> &out)
const;
116 void loadThreeColumnLogFile(std::ifstream &logFileStream,
const std::string &logFileName,
API::Run &run);
119 void loadTwoColumnLogFile(std::ifstream &logFileStream, std::string logFileName,
API::Run &run);
122 int countNumberColumns(std::ifstream &logFileStream,
const std::string &logFileName);
Kind kind
The kind of the point: either openning or closing the range.
Base class from which all concrete algorithm classes should be derived.
This class stores information regarding an experimental run as a series of log entries.
const std::string name() const override
Algorithm's name for identification overriding a virtual method.
std::string m_filename
The name and path of an input file.
const std::string summary() const override
Summary of algorithms purpose.
int version() const override
Algorithm's version for identification overriding a virtual method.
LoadLog()
Default constructor.
std::shared_ptr< Kernel::Property > m_periods
TimeSeriesProperty<int> containing data periods. Created by LogParser.
const std::string category() const override
Algorithm's category for identification overriding a virtual method.
kind
type returned by classify
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
MANTID_GEOMETRY_DLL PointClassification classify(const Kernel::V2D &pt, const PolygonEdge &edge)
Helper function for classification.
Helper class which provides the Collimation Length for SANS instruments.