Mantid
|
#include <FindSXPeaksHelper.h>
Public Member Functions | |
PeakList | dofindSXPeaks (const HistogramData::HistogramX &x, const HistogramData::HistogramY &y, Bound low, Bound high, const int workspaceIndex) const override |
StrongestPeaksStrategy (const BackgroundStrategy *backgroundStrategy, const API::SpectrumInfo &spectrumInfo, const double minValue=EMPTY_DBL(), const double maxValue=EMPTY_DBL(), const XAxisUnit units=XAxisUnit::TOF) | |
Public Member Functions inherited from Mantid::Crystal::FindSXPeaksHelper::PeakFindingStrategy | |
PeakList | findSXPeaks (const HistogramData::HistogramX &x, const HistogramData::HistogramY &y, 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) | |
virtual | ~PeakFindingStrategy ()=default |
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. More... | |
double | convertToTOF (const double xValue, const size_t workspaceIndex) const |
virtual PeakList | dofindSXPeaks (const HistogramData::HistogramX &x, const HistogramData::HistogramY &y, Bound low, Bound high, const int workspaceIndex) const =0 |
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() |
const double | m_minValue = EMPTY_DBL() |
const API::SpectrumInfo & | m_spectrumInfo |
const XAxisUnit | m_units |
Definition at line 174 of file FindSXPeaksHelper.h.
Mantid::Crystal::FindSXPeaksHelper::StrongestPeaksStrategy::StrongestPeaksStrategy | ( | 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 361 of file FindSXPeaksHelper.cpp.
|
overridevirtual |
Implements Mantid::Crystal::FindSXPeaksHelper::PeakFindingStrategy.
Definition at line 366 of file FindSXPeaksHelper.cpp.
References Mantid::Crystal::FindSXPeaksHelper::PeakFindingStrategy::calculatePhi(), Mantid::Crystal::FindSXPeaksHelper::PeakFindingStrategy::convertToTOF(), Mantid::Crystal::FindSXPeaksHelper::PeakFindingStrategy::getXValue(), Mantid::Crystal::FindSXPeaksHelper::BackgroundStrategy::isBelowBackground(), Mantid::Crystal::FindSXPeaksHelper::PeakFindingStrategy::m_backgroundStrategy, Mantid::Crystal::FindSXPeaksHelper::PeakFindingStrategy::m_spectrumInfo, Mantid::Geometry::x, and Mantid::Geometry::y.