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 from which all concrete algorithm classes should be derived.
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(std::span< double const > xold, std::span< double const > yold, std::span< double const > eold, std::span< double const > xnew, std::span< double > ynew, std::span< double > enew, bool distribution, bool addition=false)
The input and output ranges are taken as spans so that the size-checked histogram data types,...
Helper class which provides the Collimation Length for SANS instruments.