14#include "MantidAlgorithms/DllConfig.h"
51 const std::string
name()
const override {
return "CrossCorrelate"; }
53 const std::string
summary()
const override {
54 return "Cross-correlates a range of spectra against one reference spectra "
55 "in the same workspace.";
59 int version()
const override {
return (1); }
60 const std::vector<std::string>
seeAlso()
const override {
return {
"GetDetectorOffsets"}; }
62 const std::string
category()
const override {
return "Arithmetic"; }
75 std::unique_ptr<API::Progress> m_progress =
nullptr;
Base class from which all concrete algorithm classes should be derived.
Compute the cross correlation function for a range of spectra with respect to a reference spectrum.
spec2index_map::iterator index_map_it
Iterator for the spectra to index map.
int version() const override
Algorithm's version.
const std::string category() const override
Algorithm's category for identification.
CrossCorrelate()
(Empty) Constructor
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso algorithms related to this algorithm.
const std::string name() const override
Algorithm's name.
~CrossCorrelate() override=default
Virtual destructor.
const std::string summary() const override
Summary of algorithms purpose.
spec2index_map index_map
Spectra to index map.
Helper class which provides the Collimation Length for SANS instruments.
std::unordered_map< specnum_t, size_t > spec2index_map
Map with key = spectrum number, value = workspace index.