Skip to content

Commit

Permalink
Refs #6940 add FixResolution from ticket 7369
Browse files Browse the repository at this point in the history
  • Loading branch information
Vickie Lynch committed Jun 28, 2013
1 parent 637673b commit bdbc797
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Code/Mantid/Framework/MDAlgorithms/src/IntegratePeaksMD.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -433,14 +433,14 @@ namespace MDAlgorithms
{
peakHeight = std::sqrt(2*peakHeight);
Sigma =0.008;
fun_str << "name=LinearBackground,A0=0.0,A1=0.0;(composite=Convolution;name=Gaussian,Height="<<peakHeight<<",PeakCentre="<<Centre<<",Sigma="<<Sigma<<
fun_str << "name=LinearBackground,A0=0.0,A1=0.0;(composite=Convolution,FixResolution=false;name=Gaussian,Height="<<peakHeight<<",PeakCentre="<<Centre<<",Sigma="<<Sigma<<
";name=ExpDecay,Height="<<peakHeight<<",Lifetime="<<Lifetime<<")";
}
else if (profileFunction.compare("ConvolutionBackToBackGaussian") == 0)
{
peakHeight = std::sqrt(2*peakHeight);
Sigma =0.008;
fun_str << "name=LinearBackground,A0=0.0,A1=0.0;(composite=Convolution;name=Gaussian,Height="<<peakHeight<<",PeakCentre="<<Centre<<",Sigma="<<Sigma<<
fun_str << "name=LinearBackground,A0=0.0,A1=0.0;(composite=Convolution,FixResolution=false;name=Gaussian,Height="<<peakHeight<<",PeakCentre="<<Centre<<",Sigma="<<Sigma<<
";name=BackToBackExponential,I="<<peakHeight<<",A=100.0,B=100.0,X0="<<Centre<<",S="<<Sigma<<")";
}
if (profileFunction.compare("NoFit") != 0)
Expand Down

0 comments on commit bdbc797

Please sign in to comment.