Mantid
Loading...
Searching...
No Matches
Namespaces | Functions
LoadHelper.h File Reference
#include "MantidAPI/Run.h"
#include "MantidDataHandling/DllConfig.h"
#include "MantidNexus/NexusClasses.h"

Go to the source code of this file.

Namespaces

namespace  Mantid
 Helper class which provides the Collimation Length for SANS instruments.
 
namespace  Mantid::DataHandling
 
namespace  Mantid::DataHandling::LoadHelper
 LoadHelper : Auxiliary functions for Loading Files.
 

Functions

void Mantid::DataHandling::LoadHelper::addNexusFieldsToWsRun (NXhandle nxfileID, API::Run &runDetails, const std::string &entryName="", bool useFullPath=false)
 Add properties from a nexus file to the workspace run. More...
 
double Mantid::DataHandling::LoadHelper::calculateEnergy (double)
 Calculate Neutron Energy from wavelength: \( E = h^2 / 2m\lambda ^2 \). More...
 
double Mantid::DataHandling::LoadHelper::calculateTOF (double, double)
 Calculate TOF from distance. More...
 
std::string Mantid::DataHandling::LoadHelper::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 Mantid: ISO8601 format string: "yyyy-mm-ddThh:mm:ss[Z+-]tz:tz". More...
 
void Mantid::DataHandling::LoadHelper::dumpNexusAttributes (NXhandle nxfileID)
 Show attributes attached to the current Nexus entry. More...
 
std::string Mantid::DataHandling::LoadHelper::findInstrumentNexusPath (const Mantid::NeXus::NXEntry &)
 Finds the path for the instrument name in the nexus file Usually of the form: entry0/<NXinstrument class>/name. More...
 
Kernel::V3D Mantid::DataHandling::LoadHelper::getComponentPosition (const API::MatrixWorkspace_sptr &ws, const std::string &componentName)
 LoadHelper::getComponentPosition. More...
 
double Mantid::DataHandling::LoadHelper::getDoubleFromNexusPath (const Mantid::NeXus::NXEntry &, const std::string &)
 
double Mantid::DataHandling::LoadHelper::getInstrumentProperty (const API::MatrixWorkspace_sptr &, const std::string &)
 
std::string Mantid::DataHandling::LoadHelper::getStringFromNexusPath (const Mantid::NeXus::NXEntry &, const std::string &)
 
std::vector< double > Mantid::DataHandling::LoadHelper::getTimeBinningFromNexusPath (const Mantid::NeXus::NXEntry &, const std::string &)
 Gets the time binning from a Nexus float array Adds an extra bin at the end. More...
 
void Mantid::DataHandling::LoadHelper::loadEmptyInstrument (const API::MatrixWorkspace_sptr &ws, const std::string &instrumentName, const std::string &instrumentPath="")
 
void Mantid::DataHandling::LoadHelper::moveComponent (const API::MatrixWorkspace_sptr &ws, const std::string &componentName, const Kernel::V3D &newPos)
 LoadHelper::moveComponent. More...
 
void Mantid::DataHandling::LoadHelper::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. More...
 
void Mantid::DataHandling::LoadHelper::rotateComponent (const API::MatrixWorkspace_sptr &ws, const std::string &componentName, const Kernel::Quat &rot)
 LoadHelper::rotateComponent. More...