Mantid
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Mantid::Crystal::FindSXPeaksHelper::StrongestPeaksStrategy Class Reference

#include <FindSXPeaksHelper.h>

Inheritance diagram for Mantid::Crystal::FindSXPeaksHelper::StrongestPeaksStrategy:
Mantid::Crystal::FindSXPeaksHelper::PeakFindingStrategy

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 BackgroundStrategym_backgroundStrategy
 
const double m_maxValue = EMPTY_DBL()
 
const double m_minValue = EMPTY_DBL()
 
const API::SpectrumInfom_spectrumInfo
 
const XAxisUnit m_units
 

Detailed Description

Definition at line 174 of file FindSXPeaksHelper.h.

Constructor & Destructor Documentation

◆ StrongestPeaksStrategy()

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.

Member Function Documentation

◆ dofindSXPeaks()

PeakList Mantid::Crystal::FindSXPeaksHelper::StrongestPeaksStrategy::dofindSXPeaks ( const HistogramData::HistogramX &  x,
const HistogramData::HistogramY &  y,
Bound  low,
Bound  high,
const int  workspaceIndex 
) const
overridevirtual

The documentation for this class was generated from the following files: