mantidproject / mantid

Main repository for Mantid code
https://www.mantidproject.org
GNU General Public License v3.0
210 stars 122 forks source link

Investigate supporting background subtraction in Engg GSAS tab #34708

Open DannyHindson opened 1 year ago

DannyHindson commented 1 year ago

Look at how the functionality to do background subtraction on the Fitting tab can be made available to users using the new GSAS tab

DanielMurphy22 commented 1 year ago

For the GSASII tab we currently do one shot where we load and refine the data. This does not include the background subtraction. I think adding the loaded data table is required before this change. The the user will need some way of choosing whether the background should be subtracted in Mantid before being passed on to GSASII. Currently in the gsas2 model there is a hard coded value for the background to be refined in GSASII set to true. It is worth considering if turning this off is correct in the case that Mantid has already subtracted the background.