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
New algorithm to bin HFIR powder diffractometer data from MDEventWorkspaces #285
Conversation
By adding .h, .cpp, Test.h and .rst file. And modified CMakeLists. * modified: MDAlgorithms/CMakeLists.txt * new file: MDAlgorithms/inc/MantidMDAlgorithms/ConvertCWPDMDToSpectra.h * new file: MDAlgorithms/src/ConvertCWPDMDToSpectra.cpp * new file: MDAlgorithms/test/ConvertCWPDMDToSpectraTest.h * new file: ../docs/source/algorithms/ConvertCWPDMDToSpectra-v1.rst
- modified: ../Mantid/Framework/MDAlgorithms/src/ConvertCWPDMDToSpectra.cpp : tried fix some problem of linear interpolation (not finished yet) - modified: ../Mantid/Framework/MDAlgorithms/src/ConvertSpiceDataToRealSpace.cpp : fixed an issue as no run start is given
1. Fix the label for Y value: Intensity 2. Fix the doxygen warning 3. Fix cppcheck 4. Fixes the standard error issue in ConvertSpiceToRealSpace 5. Add 'start_time' to LoadSpiceAscii, ConvertSpiceToRealSpace and ConvertCWPDMDToSpectra
Please can you give a better title to the pull request. It shouldn't have the ticket reference in it and should be a short sentence describing the changes - something like "New algorithm to convert reactor-based powder data to spectrum matrix" would be fine. |
== For tester == A new algorithm CovertCWPDMDToSpectra is implemented in this algorithm in order to convert the data MDEventWorkspace and monitor MDEventWorkspace to a single spectra histogram for HFIR powder diffractometers. Tester should check that all the tests are passed and whether the documentation is clear. The files for verifying this pull request can be found at [https://gist.github.com/wdzhou/0bccce66d7c322153e54] |
New algorithm to bin HFIR powder diffractometer data from MDEventWorkspaces
Fixes issues #10929
A new algorithm ConvertCWPDMDToSpectra is simplemented in order to convert a set of reactor-sourced powder diffraction data in MDWorkspaces to a single spectrum matrix by binning the data according to 2theta value of the detectors.