Skip to content

Commit

Permalink
Refs #4985. Adding the rest of the peak shapes to FindPeaks.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterfpeterson committed Mar 26, 2012
1 parent 04ea7ce commit b672775
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Code/Mantid/Framework/Algorithms/src/FindPeaks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1200,7 +1200,14 @@ void FindPeaks::addRow(const int spectrum, const std::vector<double> &params, co
}
}

// TODO have two sets of params: one effective, one raw
/**
* Get the parameter lists as appropriate using the supplied function abstraction.
* @param compositeFunc The function to get information from.
* @param effParams This will always be centre, width, height, backA0, backA1, backA2 reguarless of how many
* parameters the function actually has.
* @param rawParams The actual parameters of the fit function.
* @param peakFuncType Since this is a static method.
*/
void getComponentFunctions(IFitFunction_sptr compositeFunc, std::vector<double> &effParams, std::vector<double> &rawParams, const std::string & peakFuncType)
{
// clear out old parameters
Expand Down

0 comments on commit b672775

Please sign in to comment.