Mantid
Loading...
Searching...
No Matches
PredictFractionalPeaks.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2012 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
9#include "MantidCrystal/DllConfig.h"
11#include <tuple>
12
13namespace Mantid::Kernel {
14class V3D;
15}
16
17namespace Mantid::Crystal {
18
23class MANTID_CRYSTAL_DLL PredictFractionalPeaks final : public API::Algorithm {
24public:
25 const std::string name() const override { return "PredictFractionalPeaks"; }
26 const std::string summary() const override {
27 return "The offsets can be from hkl values in a range of hkl values or "
28 "from peaks in the input PeaksWorkspace";
29 }
30 int version() const override { return 1; }
31 const std::vector<std::string> seeAlso() const override { return {"PredictPeaks"}; }
32 const std::string category() const override { return "Crystal\\Peaks"; }
33 std::map<std::string, std::string> validateInputs() override;
34
35private:
36 void init() override;
37 void exec() override;
38
39 ModulationProperties getModulationInfo();
40};
41
42} // namespace Mantid::Crystal
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
Using a set of offset vectors, either provided as separate lists or as a set of vectors,...
const std::string name() const override
function to return a name of the algorithm, must be overridden in all algorithms
int version() const override
function to return a version of the algorithm, must be overridden in all algorithms
const std::string category() const override
function to return a category of the algorithm.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
const std::string summary() const override
function returns a summary message that will be displayed in the default GUI, and in the help.
Tie together the names of the properties for the modulation vectors.