11#include "MantidAlgorithms/DllConfig.h"
15namespace HistogramData {
32 const std::string
name()
const override {
return "FFTDerivative"; }
34 const std::string
summary()
const override {
35 return "Calculated derivatives of a spectra in the MatrixWorkspace using "
36 "Fast Fourier Transform (FFT).";
40 int version()
const override {
return (1); }
41 const std::vector<std::string>
seeAlso()
const override {
42 return {
"ExtractFFTSpectrum",
"FFT",
"MaxEnt",
"RealFFT",
"SassenaFFT",
"FFTSmooth"};
45 const std::string
category()
const override {
return "Arithmetic\\FFT"; }
53 void symmetriseSpectrum(
const HistogramData::Histogram &in, HistogramData::HistogramX &symX,
54 HistogramData::HistogramY &symY,
const size_t nx,
const size_t ny);
55 void multiplyTransform(
const HistogramData::HistogramX &nu, HistogramData::HistogramY &re,
56 HistogramData::HistogramY &im);
Base class from which all concrete algorithm classes should be derived.
Calculates derivatives of the spectra in a MatrixWorkspace using a Fast Fourier Transform.
void symmetriseSpectrum(const HistogramData::Histogram &in, HistogramData::HistogramX &symX, HistogramData::HistogramY &symY, const size_t nx, const size_t ny)
void multiplyTransform(const HistogramData::HistogramX &nu, HistogramData::HistogramY &re, HistogramData::HistogramY &im)
A Fourier transform of a derivative of order n has a factor of i^n where i is the imaginary unit.
void init() override
Initialisation code.
void exec() override
Execution code.
const std::string category() const override
Algorithm's category for identification.
int version() const override
Algorithm's version.
const std::string name() const override
Algorithm's name.
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.
Helper class which provides the Collimation Length for SANS instruments.