10#include "MantidDataHandling/DllConfig.h"
15namespace DataHandling {
29 bool useFullPath =
false);
38 const std::string &instrumentPath =
"");
41 std::string &parent_class,
int level,
bool useFullPath);
This class stores information regarding an experimental run as a series of log entries.
Implements NXentry Nexus class.
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
double getInstrumentProperty(const API::MatrixWorkspace_sptr &, const std::string &)
double calculateEnergy(double)
Calculate Neutron Energy from wavelength: .
void recurseAndAddNexusFieldsToWsRun(NXhandle nxfileID, API::Run &runDetails, std::string &parent_name, std::string &parent_class, int level, bool useFullPath)
Recursively add properties from a nexus file to the workspace run.
void rotateComponent(const API::MatrixWorkspace_sptr &ws, const std::string &componentName, const Kernel::Quat &rot)
LoadHelper::rotateComponent.
std::string getStringFromNexusPath(const Mantid::NeXus::NXEntry &, const std::string &)
std::vector< double > getTimeBinningFromNexusPath(const Mantid::NeXus::NXEntry &, const std::string &)
Gets the time binning from a Nexus float array Adds an extra bin at the end.
void loadEmptyInstrument(const API::MatrixWorkspace_sptr &ws, const std::string &instrumentName, const std::string &instrumentPath="")
void addNexusFieldsToWsRun(NXhandle nxfileID, API::Run &runDetails, const std::string &entryName="", bool useFullPath=false)
Add properties from a nexus file to the workspace run.
double getDoubleFromNexusPath(const Mantid::NeXus::NXEntry &, const std::string &)
std::string findInstrumentNexusPath(const Mantid::NeXus::NXEntry &)
Finds the path for the instrument name in the nexus file Usually of the form: entry0/<NXinstrument cl...
void moveComponent(const API::MatrixWorkspace_sptr &ws, const std::string &componentName, const Kernel::V3D &newPos)
LoadHelper::moveComponent.
void dumpNexusAttributes(NXhandle nxfileID)
Show attributes attached to the current Nexus entry.
double calculateTOF(double, double)
Calculate TOF from distance.
std::string dateTimeInIsoFormat(const std::string &)
Parses the date as formatted at the ILL: 29-Jun-12 11:27:26 and converts it to the ISO format used in...
Kernel::V3D getComponentPosition(const API::MatrixWorkspace_sptr &ws, const std::string &componentName)
LoadHelper::getComponentPosition.
Helper class which provides the Collimation Length for SANS instruments.