Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add algorithm to normalise compton scattering spectrum by hydrogen peak area #9442

Closed
martyngigg opened this issue Dec 11, 2013 · 2 comments
Closed
Assignees
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

Comments

@martyngigg
Copy link
Member

This will require two new algorithms:

  1. ConvertToYSpace -

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.

  1. NormaliseByPeakArea -

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.

@martyngigg
Copy link
Member Author

This issue was originally trac ticket 8598

@martyngigg
Copy link
Member Author

@martyngigg martyngigg added High Priority An issue or pull request that if not addressed is severe enough to postponse a release. Direct Inelastic Issues and pull requests related to direct inelastic labels Jun 3, 2015
@martyngigg martyngigg self-assigned this Jun 3, 2015
@martyngigg martyngigg added this to the Release 3.1 milestone Jun 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

No branches or pull requests

1 participant