This project is mirrored from https://github.com/mantidproject/mantid.git.
Pull mirroring updated .
- Mar 31, 2020
-
-
-
Peterson, Peter authored
-
Peterson, Peter authored
-
- Mar 26, 2020
-
-
Danny Hindson authored
Miscellaneous code review comments to add comments, remove redundant brackets Also added comment to the sample environment concept page to explain where Mantid will search for the attenuation profile file
-
- Mar 25, 2020
-
-
Hahn, Steven authored
Signed-off-by:
Steven Hahn <hahnse@ornl.gov>
-
Hahn, Steven authored
Signed-off-by:
Steven Hahn <hahnse@ornl.gov>
-
Hahn, Steven authored
Signed-off-by:
Steven Hahn <hahnse@ornl.gov>
-
Hahn, Steven authored
Signed-off-by:
Steven Hahn <hahnse@ornl.gov>
-
David Fairbrother authored
-
David Fairbrother authored
-
David Fairbrother authored
Runs clang-tidy pass by ref across the codebase to fix-up various warnings we are seeing in cppcheck
-
David Fairbrother authored
Hand-fixes some cppcheck warnings, this was work prior to fixing the cppcheck target.
-
- Mar 24, 2020
-
-
Hahn, Steven authored
Signed-off-by:
Steven Hahn <hahnse@ornl.gov>
-
Hahn, Steven authored
Signed-off-by:
Steven Hahn <hahnse@ornl.gov>
-
Danny Hindson authored
Not convinced this kind of test is useful. Better to test the functionality rather than things like parameter\property counts
-
- Mar 23, 2020
-
-
Hahn, Steven authored
Signed-off-by:
Steven Hahn <hahnse@ornl.gov>
-
Hahn, Steven authored
Signed-off-by:
Steven Hahn <hahnse@ornl.gov>
-
Danny Hindson authored
-
Hahn, Steven authored
Signed-off-by:
Steven Hahn <hahnse@ornl.gov>
-
Danny Hindson authored
While the primary use of the new attenuation profile file feature is expected to be via the sample environment xml file, it also makes sense to add it into any algorithms where the material properties can be specified. So I've added a new attenuation profile parameter to the SetSampleMaterial and LoadSampleEnvironment algorithms. The validations on these algorithms means they can't be called using postional arguments so have inserted the new parameter in the logical place next to the absorption cross section Have updated the docs to explain how the attenuation profile file is used
-
- Mar 20, 2020
-
-
Danny Hindson authored
Add feature where an externally generated attenuation profile can be loaded into the material definition from a .DAT text file. This will override the normal exp(-alpha*thickness) calculation of the attenuation. The new feature was requested as part of the absorption calculation for the Pearl instrument where some parts of the environment are crystalline Found the lookup\interpolation on the loaded profile was slowing down the absorption Monte Carlo calculation. So improved performance of Kernel::Interpolation. Changed it to use vector of pairs instead of two separate vectors to reduce amount of navigation around vectors Considered adding feature into AttenuationProfile where I add any interpolated points into the override attenuation profile to prevent interpolation next iteration of Monte Carlo simulation. However wasn't convinced this was going to be thread-safe during the parallel part of the absorption calculation - may revisit this. While doing this investigation I fixed the following issues with the function Interpolation::AddPoint: a) it doesn't add the same point twice b) it reuses the lower_bound function rather than stepping through the vector sequentially I removed the exception from findIndexOfNextLargerValue because the end() iterator is a valid result if the x value supplied equals the last x value already in the vector. Could have left check in for begin() but didn't seem much point Finally - the interpolation outside the range is not v good. The data at the extremes is noisy so we end up extrapolating based on random gradient in extreme 2 points. Need to either fit or use more points to determine gradient
-
Nick Draper authored
-
Nick Draper authored
-
Nick Draper authored
-
Nick Draper authored
Also updated class_maker.py
-
- Mar 06, 2020
-
-
Nick Draper authored
-
- Mar 05, 2020
-
-
Harriet Brown authored
This commit replaces all header guards in DataHandling with #pragma once
-
- Mar 03, 2020
-
-
Anthony Lim authored
-
- Feb 28, 2020
-
-
William F Godoy authored
Reuse map from NeXus file getEntries prevents creation and destruction of std::map addressing clang-format
-
- Feb 20, 2020
-
-
Harriet Brown authored
This commit changes the call of workspace->x(0) to workspace->points(0) because of this I no longer need to check if the workspace is a histogram or not. re: #27774
-
- Feb 19, 2020
-
-
Anthony Lim authored
-
- Feb 18, 2020
-
-
Mathieu Tillet authored
-
- Feb 17, 2020
-
-
Harriet Brown authored
This commit fixes failing tests for SaveRMCProfileTest, assertions on number of lines were improperly counted.
-
Harriet Brown authored
This commit fixes garbled code resulting from a mistake during merging master It also removes an in correctly named file that has since been replaced with a correctly spelled one.
-
Harriet Brown authored
-
Harriet Brown authored
This commit creates an algorithm `SaveRMCProfile` to output an ascii file with the format corresponding to a file used by the RMCProfile package. the output file contains only the x and y data from a workspace with a header containing the number of y values in the file on the first line, and on the second line the type of function contained within and a title for the data. re: #27774
-
- Feb 14, 2020
-
-
Mathieu Tillet authored
-
Mathieu Tillet authored
-
Mathieu Tillet authored
-
Mathieu Tillet authored
-