11534 calculate q resolution in Q1D #13312
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #11534
For Testing
Please find the required data here: \olympic\Babylon5\Scratch\Anton\Testing\11534_Calculate_Q1D_resolution\Q1D_Sandbox
The Windows installer: \olympic\Babylon5\Scratch\Anton\Testing\11534_Calculate_Q1D_resolution
The Sample Workspace is: det_bank_workspace.nxs
The WavePixelAdj workspace is: wave_adj.nxs
The outputBinning is: 0.001, -0.08, 1.0
There are tthree python scripts provided.
QResolution.py produces the QResolution workspace; QResolution_with_gravity.py does the same but with gravity correction enabled. Note that you have to specify the path to the data in the file
The script QResolutionEvaluate.py shows the sum of absolute values of the the DX values. Run this against the output of Q1D
Test that Q1D algorithm runs without QResolution
Don't set the rest
Test that Q1D algorithm runs withQResolution
Test that Q1D algorithm runs withQResolution with_graivty enabled