10#include "MantidAlgorithms/DllConfig.h"
42 const std::string
name()
const override {
return "Rebin"; }
44 const std::string
summary()
const override {
45 return "Rebins data with new X bin boundaries. For EventWorkspaces, you "
46 "can very quickly rebin in-place by keeping the same output name "
47 "and PreserveEvents=true.";
51 int version()
const override {
return 1; }
53 const std::string
category()
const override {
return "Transforms\\Rebin"; }
55 const std::string
alias()
const override {
return "rebin"; }
57 const std::vector<std::string>
seeAlso()
const override {
58 return {
"RebinToWorkspace",
"Rebin2D",
"Rebunch",
"Regroup",
"RebinByPulseTimes",
"RebinByTimeAtSample"};
60 std::map<std::string, std::string> validateInputs()
override;
62 static std::vector<double> rebinParamsFromInput(
const std::vector<double> &inParams,
64 const std::string &binModeName =
"Default");
76 const int hist,
const bool IgnoreBinErrors =
false);
Base class from which all concrete algorithm classes should be derived.
Base MatrixWorkspace Abstract Class.
Takes a workspace as input and rebins the data according to the input rebin parameters.
const std::string workspaceMethodInputProperty() const override
Returns the name of the input workspace property used by the calling object.
const std::string alias() const override
Algorithm's aliases.
const std::string workspaceMethodName() const override
const std::string summary() const override
Summary of algorithms purpose.
const std::vector< std::string > seeAlso() const override
Algorithm's seeAlso.
const std::string category() const override
Algorithm's category for identification overriding a virtual method.
const std::string workspaceMethodOnTypes() const override
Returns a semi-colon separated list of workspace types to attach this algorithm.
int version() const override
Algorithm's version for identification overriding a virtual method.
const std::string name() const override
Algorithm's name for identification overriding a virtual method.
The Logger class is in charge of the publishing messages from the framework through various channels.
std::shared_ptr< const MatrixWorkspace > MatrixWorkspace_const_sptr
shared pointer to the matrix workspace base class (const version)
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
Helper class which provides the Collimation Length for SANS instruments.