Mantid
Loading...
Searching...
No Matches
RealFFT.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2008 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6// SPDX - License - Identifier: GPL - 3.0 +
7#pragma once
8
12
13namespace Mantid {
14namespace Algorithms {
15namespace RealFFT {
21class MANTID_ALGORITHMS_DLL RealFFT : public API::Algorithm {
22public:
24 const std::string name() const override { return "RealFFT"; }
26 const std::string summary() const override { return "Performs real Fast Fourier Transform"; }
27
29 int version() const override { return 1; }
30 const std::vector<std::string> seeAlso() const override {
31 return {"ExtractFFTSpectrum", "FFT", "FFTDerivative", "MaxEnt", "SassenaFFT", "FFTSmooth"};
32 }
34 const std::string category() const override { return "Arithmetic\\FFT"; }
35
36private:
37 // Overridden Algorithm methods
38 void init() override;
39 std::map<std::string, std::string> validateInputs() override;
40 std::map<std::string, std::string> actuallyValidateInputs(API::Workspace_sptr const &);
41 void exec() override;
42};
43
44namespace PropertyNames {
45inline std::string const INPUT_WKSP("InputWorkspace");
46inline std::string const OUTPUT_WKSP("OutputWorkspace");
47inline std::string const WKSP_INDEX("WorkspaceIndex");
48inline std::string const TRANSFORM("Transform");
49inline std::string const IGNORE_X_BINS("IgnoreXBins");
50} // namespace PropertyNames
51} // namespace RealFFT
52} // namespace Algorithms
53} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition Algorithm.h:76
Performs a Fast Fourier Transform of real data.
Definition RealFFT.h:21
const std::string summary() const override
Summary of algorithms purpose.
Definition RealFFT.h:26
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso algorithms related to this algorithm.
Definition RealFFT.h:30
const std::string name() const override
Algorithm's name for identification overriding a virtual method.
Definition RealFFT.h:24
const std::string category() const override
Algorithm's category for identification overriding a virtual method.
Definition RealFFT.h:34
int version() const override
Algorithm's version for identification overriding a virtual method.
Definition RealFFT.h:29
std::shared_ptr< Workspace > Workspace_sptr
shared pointer to Mantid::API::Workspace
std::string const TRANSFORM("Transform")
std::string const INPUT_WKSP("InputWorkspace")
std::string const IGNORE_X_BINS("IgnoreXBins")
std::string const OUTPUT_WKSP("OutputWorkspace")
std::string const WKSP_INDEX("WorkspaceIndex")
Helper class which provides the Collimation Length for SANS instruments.