Skip to content

Commit

Permalink
Re #7083 Add widget to select function of logvalue
Browse files Browse the repository at this point in the history
  • Loading branch information
raquelalvarezbanos committed Feb 20, 2015
1 parent 5c266ce commit fb4f697
Show file tree
Hide file tree
Showing 3 changed files with 362 additions and 328 deletions.
10 changes: 10 additions & 0 deletions Code/Mantid/Framework/Algorithms/src/PlotAsymmetryByLogValue.cpp
Expand Up @@ -94,6 +94,16 @@ void PlotAsymmetryByLogValue::init() {
boost::make_shared<StringListValidator>(options),
"The calculation type: 'Integral' or 'Differential'.");

std::vector<std::string> optionsLog;
optionsLog.push_back("Mean");
optionsLog.push_back("Min");
optionsLog.push_back("Max");
optionsLog.push_back("First");
optionsLog.push_back("Last");
declareProperty("Function", "Last",
boost::make_shared<StringListValidator>(optionsLog),
"The calculation type: 'Integral' or 'Differential'.");

declareProperty(
"TimeMin", EMPTY_DBL(),
"The beginning of the time interval used in the calculations.");
Expand Down

0 comments on commit fb4f697

Please sign in to comment.