Mantid
Loading...
Searching...
No Matches
Namespaces | Functions
LoadANSTOHelper.cpp File Reference
#include "MantidDataHandling/LoadANSTOHelper.h"
#include "MantidAPI/FileProperty.h"
#include "MantidAPI/RegisterFileLoader.h"
#include "MantidDataObjects/EventWorkspace.h"
#include "MantidGeometry/Instrument.h"
#include "MantidGeometry/Objects/ShapeFactory.h"
#include "MantidKernel/UnitFactory.h"
#include "MantidNexus/NexusClasses.h"
#include <boost/filesystem.hpp>
#include <algorithm>
#include <numeric>

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::ANSTO
 
namespace  Mantid::DataHandling::ANSTO::Anxs
 
namespace  Mantid::DataHandling::ANSTO::Tar
 

Functions

int64_t Mantid::DataHandling::ANSTO::Anxs::epochRelDateTimeBase (int64_t epochInNanoSeconds)
 
template<typename T >
bool Mantid::DataHandling::ANSTO::Anxs::extractTimedDataSet (const Nexus::NXEntry &entry, const std::string &path, uint64_t startTime, uint64_t endTime, ScanLog valueOption, uint64_t &eventTime, T &eventValue, std::string &units)
 
template<typename T >
uint64_t Mantid::DataHandling::ANSTO::Anxs::extractTimedDataSet (const Nexus::NXEntry &entry, const std::string &path, uint64_t startTime, uint64_t endTime, std::vector< uint64_t > &times, std::vector< T > &events, std::string &units)
 
template bool Mantid::DataHandling::ANSTO::Anxs::extractTimedDataSet< double > (const Nexus::NXEntry &entry, const std::string &path, uint64_t startTime, uint64_t endTime, ScanLog valueOption, uint64_t &eventTime, double &eventValue, std::string &units)
 
template uint64_t Mantid::DataHandling::ANSTO::Anxs::extractTimedDataSet< double > (const Nexus::NXEntry &entry, const std::string &path, uint64_t startTime, uint64_t endTime, std::vector< uint64_t > &times, std::vector< double > &events, std::string &units)
 
template bool Mantid::DataHandling::ANSTO::Anxs::extractTimedDataSet< float > (const Nexus::NXEntry &entry, const std::string &path, uint64_t startTime, uint64_t endTime, ScanLog valueOption, uint64_t &eventTime, float &eventValue, std::string &units)
 
template uint64_t Mantid::DataHandling::ANSTO::Anxs::extractTimedDataSet< float > (const Nexus::NXEntry &entry, const std::string &path, uint64_t startTime, uint64_t endTime, std::vector< uint64_t > &times, std::vector< float > &events, std::string &units)
 
std::string Mantid::DataHandling::ANSTO::Anxs::extractWorkspaceTitle (const std::string &nxsFile)
 
std::vector< std::string > Mantid::DataHandling::ANSTO::filterDatasets (const Nexus::NXEntry &entry, const std::string &groupAddress, const std::string &regexFilter)
 extract datasets from a group that match a regex filter
 
std::pair< uint64_t, uint64_t > Mantid::DataHandling::ANSTO::Anxs::getHMScanLimits (const Nexus::NXEntry &entry, int datasetIx)
 
std::pair< uint64_t, uint64_t > Mantid::DataHandling::ANSTO::Anxs::getTimeScanLimits (const Nexus::NXEntry &entry, int datasetIx)
 
bool Mantid::DataHandling::ANSTO::Anxs::isTimedDataSet (const Nexus::NXEntry &entry, const std::string &path)
 
template<typename T >
bool Mantid::DataHandling::ANSTO::Anxs::loadNXDataSet (const Nexus::NXEntry &entry, const std::string &path, T &value, int index)
 
template bool Mantid::DataHandling::ANSTO::Anxs::loadNXDataSet< double > (const Nexus::NXEntry &entry, const std::string &path, double &value, int index)
 
template bool Mantid::DataHandling::ANSTO::Anxs::loadNXDataSet< float > (const Nexus::NXEntry &entry, const std::string &path, float &value, int index)
 
template bool Mantid::DataHandling::ANSTO::Anxs::loadNXDataSet< int > (const Nexus::NXEntry &entry, const std::string &path, int &value, int index)
 
template bool Mantid::DataHandling::ANSTO::Anxs::loadNXDataSet< int64_t > (const Nexus::NXEntry &entry, const std::string &path, int64_t &value, int index)
 
template bool Mantid::DataHandling::ANSTO::Anxs::loadNXDataSet< uint64_t > (const Nexus::NXEntry &entry, const std::string &path, uint64_t &value, int index)
 
bool Mantid::DataHandling::ANSTO::Anxs::loadNXString (const Nexus::NXEntry &entry, const std::string &path, std::string &value)
 
void Mantid::DataHandling::ANSTO::Anxs::ReadEventData (ProgressTracker &prog, const Nexus::NXEntry &entry, EventProcessor *handler, uint64_t start_nsec, uint64_t end_nsec, const std::string &neutron_path, int tube_resolution=1024)