Mantid
Loading...
Searching...
No Matches
Qxy.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2009 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6// SPDX - License - Identifier: GPL - 3.0 +
7#pragma once
8
10#include "MantidAlgorithms/DllConfig.h"
11
12namespace Mantid {
13namespace Algorithms {
34class MANTID_ALGORITHMS_DLL Qxy final : public API::Algorithm {
35public:
37 const std::string name() const override { return "Qxy"; }
39 const std::string summary() const override {
40 return "Performs the final part of a SANS (LOQ/SANS2D) two dimensional (in "
41 "Q) data reduction.";
42 }
43
45 int version() const override { return (1); }
46 const std::vector<std::string> seeAlso() const override { return {"Q1D"}; }
48 const std::string category() const override { return "SANS"; }
49
50private:
52 void init() override;
54 void exec() override;
55
56 std::vector<double> logBinning(double min, double max, int num);
57 API::MatrixWorkspace_sptr setUpOutputWorkspace(const API::MatrixWorkspace_const_sptr &inputWorkspace);
58 double getQminFromWs(const API::MatrixWorkspace &inputWorkspace);
59};
60
61} // namespace Algorithms
62} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
Base MatrixWorkspace Abstract Class.
This algorithm rebins a 2D workspace in units of wavelength into 2D Q.
Definition: Qxy.h:34
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso algorithms related to this algorithm.
Definition: Qxy.h:46
int version() const override
Algorithm's version.
Definition: Qxy.h:45
const std::string name() const override
Algorithm's name.
Definition: Qxy.h:37
const std::string summary() const override
Summary of algorithms purpose.
Definition: Qxy.h:39
const std::string category() const override
Algorithm's category for identification.
Definition: Qxy.h:48
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.