Mantid
|
#include <ProcessBackground.h>
Public Member Functions | |
DataObjects::Workspace2D_sptr | removePeaks (const API::MatrixWorkspace_const_sptr &dataws, int wsindex, double numfwhm) |
Remove peaks from a input workspace. More... | |
void | setup (const DataObjects::TableWorkspace_sptr &peaktablews) |
Set up: parse peak workspace to vectors. More... | |
Private Member Functions | |
size_t | excludePeaks (std::vector< double > v_inX, std::vector< bool > &v_useX, std::vector< double > v_centre, std::vector< double > v_fwhm, double num_fwhm) |
Exclude peak regions. More... | |
void | parsePeakTableWorkspace (const DataObjects::TableWorkspace_sptr &peaktablews, std::vector< double > &vec_peakcentre, std::vector< double > &vec_peakfwhm) |
Parse peak centre and FWHM from a table workspace. More... | |
Private Attributes | |
std::vector< double > | m_vecPeakCentre |
std::vector< double > | m_vecPeakFWHM |
Definition at line 23 of file ProcessBackground.h.
|
private |
Exclude peak regions.
Exclude peaks from.
Definition at line 899 of file ProcessBackground.cpp.
Referenced by removePeaks().
|
private |
Parse peak centre and FWHM from a table workspace.
Parse table workspace.
Definition at line 865 of file ProcessBackground.cpp.
Referenced by setup().
Workspace2D_sptr Mantid::CurveFitting::Functions::RemovePeaks::removePeaks | ( | const API::MatrixWorkspace_const_sptr & | dataws, |
int | wsindex, | ||
double | numfwhm | ||
) |
Remove peaks from a input workspace.
Definition at line 812 of file ProcessBackground.cpp.
References Mantid::DataObjects::create(), excludePeaks(), index, Mantid::Kernel::SingletonHolder< T >::Instance(), m_vecPeakCentre, and m_vecPeakFWHM.
Referenced by Mantid::CurveFitting::Functions::ProcessBackground::removePeaks().
void Mantid::CurveFitting::Functions::RemovePeaks::setup | ( | const DataObjects::TableWorkspace_sptr & | peaktablews | ) |
Set up: parse peak workspace to vectors.
Definition at line 798 of file ProcessBackground.cpp.
References m_vecPeakCentre, m_vecPeakFWHM, and parsePeakTableWorkspace().
Referenced by Mantid::CurveFitting::Functions::ProcessBackground::removePeaks().
|
private |
Definition at line 38 of file ProcessBackground.h.
Referenced by removePeaks(), and setup().
|
private |
Definition at line 39 of file ProcessBackground.h.
Referenced by removePeaks(), and setup().