Add algorithm to normalise compton scattering spectrum by hydrogen peak area #9442
Labels
Direct Inelastic
Issues and pull requests related to direct inelastic
High Priority
An issue or pull request that if not addressed is severe enough to postponse a release.
Milestone
This will require two new algorithms:
The required conversion is defined by equation (7) in this paper:
http://link.aip.org/link/doi/10.1063/1.3561493?ver=pdfcov. As the mass & detector delay time are required to calculate Y we cannot simply add a new unit for ConvertUnits. The algorithm will have a single input, the mass and all other parameters: l1,l2,theta,efixed,t0 will be required to be attached to the workspace instrument.
This will use the above algorithm to convert the input TOF spectrum to yspace & then Fit the peak defined by the input mass value. The input data will then be normalised by the fitted peak area value.
The text was updated successfully, but these errors were encountered: