Mantid
Loading...
Searching...
No Matches
Namespaces | Functions
SparseInstrument.h File Reference
#include "MantidAPI/MatrixWorkspace_fwd.h"
#include "MantidAlgorithms/DllConfig.h"
#include <array>
#include <boost/optional/optional.hpp>
#include <tuple>
#include <utility>

Go to the source code of this file.

Namespaces

namespace  Mantid
 Helper class which provides the Collimation Length for SANS instruments.
 
namespace  Mantid::Algorithms
 
namespace  Mantid::Algorithms::SparseInstrument
 
namespace  Mantid::Geometry
 
namespace  Mantid::HistogramData
 
namespace  Mantid::Kernel
 

Functions

MANTID_ALGORITHMS_DLL HistogramData::Histogram Mantid::Algorithms::SparseInstrument::bilinearInterpolateFromDetectorGrid (const double lat, const double lon, const API::MatrixWorkspace &ws, const std::vector< std::vector< boost::optional< size_t > > > &indices)
 
MANTID_ALGORITHMS_DLL std::unique_ptr< const Algorithms::DetectorGridDefinition > Mantid::Algorithms::SparseInstrument::createDetectorGridDefinition (const API::MatrixWorkspace &modelWS, const size_t rows, const size_t columns)
 
MANTID_ALGORITHMS_DLL API::MatrixWorkspace_uptr Mantid::Algorithms::SparseInstrument::createSparseWS (const API::MatrixWorkspace &modelWS, const Algorithms::DetectorGridDefinition &grid, const size_t wavelengthPoints)
 
MANTID_ALGORITHMS_DLL std::tuple< double, double, double, double > Mantid::Algorithms::SparseInstrument::extremeAngles (const API::MatrixWorkspace &ws)
 Defines functions and utilities to create and deal with sparse instruments. More...
 
MANTID_ALGORITHMS_DLL std::tuple< double, double > Mantid::Algorithms::SparseInstrument::extremeWavelengths (const API::MatrixWorkspace &ws)
 
MANTID_ALGORITHMS_DLL std::pair< double, double > Mantid::Algorithms::SparseInstrument::geographicalAngles (const Kernel::V3D &p, const Geometry::ReferenceFrame &refFrame)
 
MANTID_ALGORITHMS_DLL double Mantid::Algorithms::SparseInstrument::greatCircleDistance (const double lat1, const double long1, const double lat2, const double long2)
 
MANTID_ALGORITHMS_DLL HistogramData::Histogram Mantid::Algorithms::SparseInstrument::interpolateFromDetectorGrid (const double lat, const double lon, const API::MatrixWorkspace &ws, const std::array< size_t, 4 > &indices)
 
MANTID_ALGORITHMS_DLL std::array< double, 4 > Mantid::Algorithms::SparseInstrument::inverseDistanceWeights (const std::array< double, 4 > &distances)
 
MANTID_ALGORITHMS_DLL HistogramData::Histogram Mantid::Algorithms::SparseInstrument::modelHistogram (const API::MatrixWorkspace &modelWS, const size_t wavelengthPoints)