11#include "MantidAlgorithms/DllConfig.h"
22 const std::string name()
const override;
24 const std::string
summary()
const override {
25 return "Fourier transform from S(Q) to G(r), which is paired distribution "
26 "function (PDF). G(r) will be stored in another named workspace.";
30 int version()
const override;
31 const std::vector<std::string>
seeAlso()
const override {
return {
"FFT"}; }
33 const std::string category()
const override;
35 std::map<std::string, std::string> validateInputs()
override;
36 void convertToLittleGRMinus1(std::vector<double> &FOfR,
const std::vector<double> &R, std::vector<double> &DFOfR,
37 const std::vector<double> &DR,
const std::string &PDFType,
const double &rho0,
38 const double &cohScatLen);
41 size_t determineMinIndex(
double min,
const std::vector<double> &X,
const std::vector<double> &Y);
42 size_t determineMaxIndex(
double max,
const std::vector<double> &X,
const std::vector<double> &Y);
50 double determineRho0();
51 void convertToSQMinus1(std::vector<double> &FOfQ, std::vector<double> &Q, std::vector<double> &DFOfQ,
52 const std::vector<double> &DQ);
53 void convertFromSQMinus1(HistogramData::HistogramY &FOfQ,
const HistogramData::HistogramX &Q,
54 HistogramData::HistogramE &DFOfQ);
55 void convertFromLittleGRMinus1(HistogramData::HistogramY &FOfR,
const HistogramData::HistogramX &R,
56 HistogramData::HistogramE &DFOfR,
const std::string &PDFType,
const double &rho0,
57 const double &cohScatLen);
Base class from which all concrete algorithm classes should be derived.
Helper class which provides the Collimation Length for SANS instruments.