14#include "MantidMDAlgorithms/DllConfig.h"
24namespace MDAlgorithms {
31 const std::string
name()
const override {
return "IntegrateEllipsoids"; }
33 const std::string
summary()
const override {
34 return "Integrate Single Crystal Diffraction Bragg peaks using 3D "
38 int version()
const override {
return 2; }
40 const std::vector<std::string>
seeAlso()
const override {
return {
"IntegrateEllipsoidsTwoStep"}; }
41 const std::string
category()
const override {
return "Crystal\\Integration"; }
49 std::map<std::string, std::string> validateInputs()
override;
71 void outputAxisProfiles(std::vector<double> &principalaxis1, std::vector<double> &principalaxis2,
72 std::vector<double> &principalaxis3,
const double &cutoffIsigI,
const int &numSigmas,
76 void outputProfileWS(
const std::vector<double> &principalaxis1,
const std::vector<double> &principalaxis2,
77 const std::vector<double> &principalaxis3,
const std::string &wsname);
80 void integratePeaksCutoffISigI(
const double &meanMax,
const double &stdMax, std::vector<double> &principalaxis1,
81 std::vector<double> &principalaxis2, std::vector<double> &principalaxis3,
82 const int &numSigmas, std::vector<DataObjects::Peak> &peaks,
86 const std::string &values);
89 void pairBraggSatellitePeaks(
const size_t &n_peaks, std::vector<DataObjects::Peak> &peaks,
90 std::map<
size_t, std::vector<DataObjects::Peak *>> &satellitePeakMap,
91 std::vector<size_t> &satellitePeaks);
94 void removeSharedBackground(std::map<
size_t, std::vector<DataObjects::Peak *>> &satellitePeakMap,
95 std::map<
size_t, std::pair<double, double>> &cachedBraggBackground);
Base class from which all concrete algorithm classes should be derived.
Helper class for reporting progress from algorithms.
Geometry::DetectorInfo is an intermediate step towards a DetectorInfo that is part of Instrument-2....
MDWSDescription m_targWSDescr
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::string summary() const override
function returns a summary message that will be displayed in the default GUI, and in the help.
double m_satellitePeakRadius
peak radius for satellite peaks
std::vector< Kernel::V3D > E1Vec
save for all detector pixels
const std::string name() const override
function to return a name of the algorithm, must be overridden in all algorithms
double m_braggPeakRadius
peak radius for Bragg peaks
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
This is a low-level class to construct a map with lists of events near each peak Q-vector in the lab ...
helper class describes the properties of target MD workspace, which should be obtained as the result ...
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
std::shared_ptr< Workspace2D > Workspace2D_sptr
shared pointer to Mantid::DataObjects::Workspace2D
std::shared_ptr< PeaksWorkspace > PeaksWorkspace_sptr
Typedef for a shared pointer to a peaks workspace.
std::shared_ptr< EventWorkspace > EventWorkspace_sptr
shared pointer to the EventWorkspace class
Helper class which provides the Collimation Length for SANS instruments.