10#include "MantidAlgorithms/DllConfig.h"
53 const std::string
name()
const override {
return "CalculateTransmission"; }
56 const std::string
summary()
const override {
57 return "Calculates the transmission correction, as a function of "
58 "wavelength, for a SANS instrument.";
62 int version()
const override {
return (1); }
63 const std::vector<std::string>
seeAlso()
const override {
64 return {
"CalculateTransmissionBeamSpreader",
"ApplyTransmissionCorrection"};
67 const std::string
category()
const override {
return "SANS;CorrectionFunctions\\TransmissionCorrections"; }
72 mutable double m_done{0.0};
84 const std::string &fitMethod);
89 std::vector<double> &coeficients);
std::map< DeltaEMode::Type, std::string > index
Base class for algorithms that can run in parallel on all MPI ranks but not in a distributed fashion.
Calculates the transmission correction, as a function of wavelength, for a SANS instrument.
const std::string name() const override
Algorithm's name.
const std::string category() const override
Algorithm's category for identification.
int version() const override
Algorithm's version.
const std::string summary() const override
Summary of algorithms purpose 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< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
void MANTID_KERNEL_DLL rebin(const std::vector< double > &xold, const std::vector< double > &yold, const std::vector< double > &eold, const std::vector< double > &xnew, std::vector< double > &ynew, std::vector< double > &enew, bool distribution, bool addition=false)
Rebins data according to a new output X array.
Helper class which provides the Collimation Length for SANS instruments.