|
Mantid
|
#include <FindSXPeaksHelper.h>
Public Member Functions | |
| AllPeaksStrategy (const BackgroundStrategy *backgroundStrategy, const API::SpectrumInfo &spectrumInfo, const double minValue=EMPTY_DBL(), const double maxValue=EMPTY_DBL(), const XAxisUnit units=XAxisUnit::TOF) | |
| PeakList | dofindSXPeaks (const HistogramData::HistogramX &x, const HistogramData::HistogramY &y, const HistogramData::HistogramE &e, Bound low, Bound high, const int workspaceIndex) const override |
Public Member Functions inherited from Mantid::Crystal::FindSXPeaksHelper::PeakFindingStrategy | |
| PeakList | findSXPeaks (const HistogramData::HistogramX &x, const HistogramData::HistogramY &y, const HistogramData::HistogramE &e, const int workspaceIndex) const |
| PeakFindingStrategy (const BackgroundStrategy *backgroundStrategy, const API::SpectrumInfo &spectrumInfo, const double minValue=EMPTY_DBL(), const double maxValue=EMPTY_DBL(), const XAxisUnit units=XAxisUnit::TOF) | |
| void | setMinNBinsPerPeak (int minBinsPerPeak) |
| virtual | ~PeakFindingStrategy ()=default |
Private Member Functions | |
| std::vector< std::unique_ptr< PeakContainer > > | getAllPeaks (const HistogramData::HistogramX &x, const HistogramData::HistogramY &y, Bound low, Bound high, const Mantid::Crystal::FindSXPeaksHelper::BackgroundStrategy *backgroundStrategy) const |
Additional Inherited Members | |
Protected Member Functions inherited from Mantid::Crystal::FindSXPeaksHelper::PeakFindingStrategy | |
| double | calculatePhi (size_t workspaceIndex) const |
| Calculates the average phi value if the workspace contains multiple detectors per spectrum, or returns the value of phi if it is a single detector to spectrum mapping. | |
| PeakList | convertToSXPeaks (const HistogramData::HistogramX &x, const HistogramData::HistogramY &y, const std::vector< std::unique_ptr< PeakContainer > > &peaks, const int workspaceIndex) const |
| double | convertToTOF (const double xValue, const size_t workspaceIndex) const |
| void | filterPeaksForMinBins (std::vector< std::unique_ptr< PeakContainer > > &inputPeakList) const |
| BoundsIterator | getBounds (const HistogramData::HistogramX &x) const |
| double | getXValue (const HistogramData::HistogramX &x, const size_t peakLocation) const |
Protected Attributes inherited from Mantid::Crystal::FindSXPeaksHelper::PeakFindingStrategy | |
| const BackgroundStrategy * | m_backgroundStrategy |
| const double | m_maxValue = EMPTY_DBL() |
| int | m_minNBinsPerPeak = EMPTY_INT() |
| const double | m_minValue = EMPTY_DBL() |
| const API::SpectrumInfo & | m_spectrumInfo |
| const XAxisUnit | m_units |
Definition at line 194 of file FindSXPeaksHelper.h.
| Mantid::Crystal::FindSXPeaksHelper::AllPeaksStrategy::AllPeaksStrategy | ( | const BackgroundStrategy * | backgroundStrategy, |
| const API::SpectrumInfo & | spectrumInfo, | ||
| const double | minValue = EMPTY_DBL(), |
||
| const double | maxValue = EMPTY_DBL(), |
||
| const XAxisUnit | units = XAxisUnit::TOF |
||
| ) |
Definition at line 446 of file FindSXPeaksHelper.cpp.
References Mantid::Crystal::FindSXPeaksHelper::PeakFindingStrategy::m_backgroundStrategy.
|
overridevirtual |
Implements Mantid::Crystal::FindSXPeaksHelper::PeakFindingStrategy.
Definition at line 456 of file FindSXPeaksHelper.cpp.
References Mantid::Crystal::FindSXPeaksHelper::PeakFindingStrategy::convertToSXPeaks(), Mantid::Crystal::FindSXPeaksHelper::PeakFindingStrategy::filterPeaksForMinBins(), getAllPeaks(), Mantid::Crystal::FindSXPeaksHelper::PeakFindingStrategy::m_backgroundStrategy, Mantid::Geometry::x, and Mantid::Geometry::y.
|
private |
Definition at line 472 of file FindSXPeaksHelper.cpp.
References Mantid::Crystal::FindSXPeaksHelper::BackgroundStrategy::isBelowBackground(), Mantid::Geometry::x, and Mantid::Geometry::y.
Referenced by dofindSXPeaks().