Skip to content

Commit

Permalink
More choice to set peak height explicitly. Refs #6016.
Browse files Browse the repository at this point in the history
  • Loading branch information
wdzhou committed Nov 3, 2012
1 parent 185c493 commit 0a8ac0a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ namespace CurveFitting
void exportEachPeaksParameters();

/// Set parameters to each peak
void setPeakParameters(
CurveFitting::ThermalNeutronBk2BkExpConvPV_sptr peak,
std::map<std::string, Parameter> parammap, double peakheight);
void setPeakParameters(CurveFitting::ThermalNeutronBk2BkExpConvPV_sptr peak,
std::map<std::string, Parameter> parammap, double peakheight,
bool setpeakheight=true);

/// Calcualte peak heights from model to data
void calPeaksIntensities(std::vector<std::pair<int, double> >& peakheights, size_t workspaceindex);
Expand Down

0 comments on commit 0a8ac0a

Please sign in to comment.