Skip to content

Commit

Permalink
Fixed error for fx.parname style input. Refs #9358.
Browse files Browse the repository at this point in the history
  • Loading branch information
wdzhou committed May 13, 2014
1 parent 97085ab commit 0161bf8
Show file tree
Hide file tree
Showing 3 changed files with 78 additions and 281 deletions.
Expand Up @@ -68,7 +68,7 @@ namespace Algorithms

void generatePeaks();

void generatePeaksNew(API::MatrixWorkspace_sptr dataWS);
void generatePeaks(API::MatrixWorkspace_sptr dataWS);

bool hasParameter(API::IFunction_sptr function, std::string paramname);

Expand All @@ -78,21 +78,11 @@ namespace Algorithms

void createFunction(std::string& peaktype, std::string& bkgdtype);

/*
API::IFunction_sptr createFunction(const std::string &peakFuncType, const std::vector<std::string> &colNames,
const bool isRaw, const bool withBackground,
DataObjects::TableWorkspace_const_sptr peakParmsWS,
const std::size_t bkg_offset, const std::size_t rowNum,
double &centre, double &fwhm);
*/

void getSpectraSet(DataObjects::TableWorkspace_const_sptr peakParmsWS, std::set<specid_t>& spectra);

void generatePeaks(API::MatrixWorkspace_sptr dataWS, DataObjects::TableWorkspace_const_sptr peakparameters,
std::string peakfunction, bool m_newWSFromParent);

double getTableValue(DataObjects::TableWorkspace_const_sptr tableWS, std::string colname, size_t index);

/// Get the IPeakFunction part in the input function
API::IPeakFunction_sptr getPeakFunction(API::IFunction_sptr infunction);

Expand Down

0 comments on commit 0161bf8

Please sign in to comment.