10#include "MantidAlgorithms/DllConfig.h"
14namespace HistogramData {
43 const std::string
name()
const override {
return "SmoothData"; }
45 const std::string
summary()
const override {
return "Smooths out statistical fluctuations in a workspace's data."; }
48 int version()
const override {
return (1); }
49 const std::vector<std::string>
seeAlso()
const override {
return {
"SmoothNeighbours"}; }
51 const std::string
category()
const override {
return "Transforms\\Smoothing"; }
58 int validateSpectrumInGroup(
size_t wi);
66HistogramData::Histogram
smooth(
const HistogramData::Histogram &histogram,
int npts);
Base class from which all concrete algorithm classes should be derived.
Smooths the data of the input workspace by making each point the mean average of itself and one or mo...
std::vector< int > udet2group
std::map< detid_t, int > udet2groupmap
type alias for the storage of the UDET-group mapping
int version() const override
Algorithm's version.
const std::string name() const override
Algorithm's name.
const std::string category() const override
Algorithm's category for identification.
API::MatrixWorkspace_const_sptr inputWorkspace
const std::string summary() const override
Summary of algorithms purpose.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso algorithms related to this algorithm.
std::shared_ptr< const MatrixWorkspace > MatrixWorkspace_const_sptr
shared pointer to the matrix workspace base class (const version)
HistogramData::Histogram smooth(const HistogramData::Histogram &histogram, int npts)
Helper class which provides the Collimation Length for SANS instruments.