|
size_t | Mantid::CurveFitting::Functions::CrystalFieldUtils::buildSpectrumFunction (API::CompositeFunction &spectrum, const std::string &peakShape, const API::FunctionValues ¢resAndIntensities, const std::vector< double > &xVec, const std::vector< double > &yVec, double fwhmVariation, double defaultFWHM, size_t nRequiredPeaks, bool fixAllPeaks) |
| Utility functions to help set up peak functions in a Crystal Field spectrum. More...
|
|
size_t | Mantid::CurveFitting::Functions::CrystalFieldUtils::calculateMaxNPeaks (size_t nPeaks) |
| Calculate the maximum number of peaks a spectrum can have. More...
|
|
size_t | Mantid::CurveFitting::Functions::CrystalFieldUtils::calculateNPeaks (const API::FunctionValues ¢resAndIntensities) |
| Calculate the number of visible peaks. More...
|
|
double | Mantid::CurveFitting::Functions::CrystalFieldUtils::calculateWidth (double x, const std::vector< double > &xVec, const std::vector< double > &yVec) |
| Calculate the width of a peak cenrted at x using an interpolated value of a function tabulated at xVec points. More...
|
|
API::IPeakFunction_sptr | Mantid::CurveFitting::Functions::CrystalFieldUtils::createPeak (const std::string &peakShape, double centre, double intensity, const std::vector< double > &xVec, const std::vector< double > &yVec, double fwhmVariation, double defaultFWHM, bool isGood, bool fixAllPeaks) |
| Create a single peak. More...
|
|
void | Mantid::CurveFitting::Functions::CrystalFieldUtils::ignorePeak (API::IPeakFunction &peak, double fwhm) |
| Set peak's properties such that it was invisible in the spectrum. More...
|
|
void | Mantid::CurveFitting::Functions::CrystalFieldUtils::setPeakWidth (API::IPeakFunction &peak, double centre, const std::vector< double > &xVec, const std::vector< double > &yVec, double fwhmVariation, double defaultFWHM, bool useDefaultFWHM) |
| Set the width of a peak. More...
|
|
void | Mantid::CurveFitting::Functions::CrystalFieldUtils::setWidthConstraint (API::IPeakFunction &peak, double fwhm, double fwhmVariation) |
| Set a boundary constraint on the appropriate parameter of the peak. More...
|
|
void | Mantid::CurveFitting::Functions::CrystalFieldUtils::updatePeak (API::IPeakFunction &peak, double centre, double intensity, const std::vector< double > &xVec, const std::vector< double > &yVec, double fwhmVariation, bool isGood, bool fixAllPeaks) |
| Update a single peak. More...
|
|
void | Mantid::CurveFitting::Functions::CrystalFieldUtils::updatePeakWidth (API::IPeakFunction &peak, double centre, const std::vector< double > &xVec, const std::vector< double > &yVec, double fwhmVariation) |
| Update width of a peak. More...
|
|
size_t | Mantid::CurveFitting::Functions::CrystalFieldUtils::updateSpectrumFunction (API::CompositeFunction &spectrum, const std::string &peakShape, const FunctionValues ¢resAndIntensities, size_t iFirst, const std::vector< double > &xVec, const std::vector< double > &yVec, double fwhmVariation, double defaultFWHM, bool fixAllPeaks) |
| Update the peaks parameters after recalculationof the crystal field. More...
|
|