mantid
mantid copied to clipboard
Add check for minimum number of pixels fitted in IntegratePeaks1DProfile
Is your feature request related to a problem? Please describe.
IntegratePeaks1DProfile
sometimes will successfully fit e.g. 1 pixel in a peak, but fail for the neighbours. In this case it's likely the integration will not be accurate so it would be helpful for the user to be able to put some check/validation as is done in IntegratePEaksSkew
https://github.com/mantidproject/mantid/blob/b7e0aaf70396afde9e7b1e83112f42e5372d2e13/Framework/PythonInterface/plugins/algorithms/IntegratePeaksSkew.py#L844