Mantid
Loading...
Searching...
No Matches
IdentifyNoisyDetectors.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2010 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 {
23class MANTID_ALGORITHMS_DLL IdentifyNoisyDetectors final : public API::Algorithm {
24public:
25 const std::string name() const override { return "IdentifyNoisyDetectors"; }
27 const std::string summary() const override {
28 return "This algorithm creates a single-column workspace where the Y "
29 "values are populated withs 1s and 0s, 0 signifying that the "
30 "detector is to be considered 'bad' based on the method described "
31 "below.";
32 }
33
34 const std::string category() const override { return "Diagnostics"; }
35 int version() const override { return (1); }
36
37 const std::vector<std::string> seeAlso() const override { return {"CreatePSDBleedMask"}; }
38
39private:
40 void init() override;
41 void exec() override;
42
43 void getStdDev(API::Progress &progress, const Mantid::API::MatrixWorkspace_sptr &valid,
45};
46} // namespace Algorithms
47} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
Helper class for reporting progress from algorithms.
Definition: Progress.h:25
Identifies "bad" detectors based on their standard deviation, and how this differs from the standard ...
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso algorithms related to this algorithm.
const std::string summary() const override
Summary of algorithms purpose.
const std::string name() const override
const std::string category() const override
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
Helper class which provides the Collimation Length for SANS instruments.