10#include "MantidAlgorithms/DllConfig.h"
41 const std::string
name()
const override {
return "Rebin"; }
43 const std::string
summary()
const override {
44 return "Rebins data with new X bin boundaries. For EventWorkspaces, you "
45 "can very quickly rebin in-place by keeping the same output name "
46 "and PreserveEvents=true.";
50 int version()
const override {
return 1; }
52 const std::string
category()
const override {
return "Transforms\\Rebin"; }
54 const std::string
alias()
const override {
return "rebin"; }
56 const std::vector<std::string>
seeAlso()
const override {
57 return {
"RebinToWorkspace",
"Rebin2D",
"Rebunch",
"Regroup",
"RebinByPulseTimes",
"RebinByTimeAtSample"};
59 std::map<std::string, std::string> validateInputs()
override;
61 static std::vector<double> rebinParamsFromInput(
const std::vector<double> &inParams,
Base class for algorithms that treat all spectra independently, i.e., we can trivially parallelize ov...
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.