Mantid
Loading...
Searching...
No Matches
StripVanadiumPeaks.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2008 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/*
8 * StripVanadiumPeaks.h
9 *
10 * Created on: Sep 10, 2010
11 * Author: janik
12 */
13
14#pragma once
15
16//----------------------------------------------------------------------
17// Includes
18//----------------------------------------------------------------------
19#include "MantidAPI/Algorithm.h"
21#include "MantidAlgorithms/DllConfig.h"
22
23namespace Mantid {
24namespace Algorithms {
44class MANTID_ALGORITHMS_DLL StripVanadiumPeaks final : public API::Algorithm {
45public:
49 const std::string name() const override { return "StripVanadiumPeaks"; }
51 const std::string summary() const override {
52 return "This algorithm removes peaks (at vanadium d-spacing positions by "
53 "default) out of a background by linearly interpolating over the "
54 "expected peak positions.";
55 }
56
58 int version() const override { return (1); }
60 const std::string category() const override {
61 return "CorrectionFunctions\\PeakCorrections;Optimization\\PeakFinding;"
62 "Diffraction\\Corrections";
63 }
64
65private:
67 void init() override;
69 void exec() override;
70};
71
72} // namespace Algorithms
73} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
StripVanadiumPeaks algorithm.
const std::string summary() const override
Summary of algorithms purpose.
const std::string name() const override
Algorithm's name.
int version() const override
Algorithm's version.
const std::string category() const override
Algorithm's category for identification.
Helper class which provides the Collimation Length for SANS instruments.