9#include "MantidAlgorithms/DllConfig.h"
20class DetectorGridDefinition;
25namespace HistogramData {
39 const size_t columns);
40 virtual HistogramData::Histogram interpolateFromDetectorGrid(
const double lat,
const double lon)
const;
41 virtual HistogramData::Histogram bilinearInterpolateFromDetectorGrid(
const double lat,
const double lon)
const;
45 std::unique_ptr<Algorithms::DetectorGridDefinition>
m_gridDef;
46 static std::array<double, 4> inverseDistanceWeights(
const std::array<double, 4> &distances);
47 static double greatCircleDistance(
const double lat1,
const double long1,
const double lat2,
const double long2);
49 static HistogramData::Histogram modelHistogram(
const API::MatrixWorkspace &modelWS,
const size_t wavelengthPoints);
52 HistogramData::HistogramY secondDerivative(
const std::array<size_t, 3> indices,
const double distanceStep)
const;
53 HistogramData::HistogramE esq(
const HistogramData::HistogramE &e)
const;
54 HistogramData::HistogramE esqrt(HistogramData::HistogramE e)
const;
Base MatrixWorkspace Abstract Class.
Defines functions and utilities to create and deal with sparse instruments.
std::unique_ptr< Algorithms::DetectorGridDefinition > m_gridDef
Concrete workspace implementation.
std::shared_ptr< SparseWorkspace > SparseWorkspace_sptr
std::unique_ptr< SparseWorkspace > SparseWorkspace_uptr
unique pointer to Mantid::API::SparseWorkspace
std::shared_ptr< IObject > IObject_sptr
Typdef for a shared pointer.
Helper class which provides the Collimation Length for SANS instruments.