Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/mantidproject/mantid.git. Pull mirroring updated .
  1. Mar 31, 2020
  2. Mar 26, 2020
  3. Mar 25, 2020
  4. Mar 24, 2020
  5. Mar 23, 2020
  6. Mar 20, 2020
    • Danny Hindson's avatar
      Add ability to load measured attenuation profile for material · 74316a4b
      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
      74316a4b
    • Nick Draper's avatar
      8d968f2c
    • Nick Draper's avatar
      correct header mistake · f6762788
      Nick Draper authored
      f6762788
    • Nick Draper's avatar
      clang format whitespace changes · 9ac42d37
      Nick Draper authored
      9ac42d37
    • Nick Draper's avatar
      Updated mantid copyright statement to add CSNS · 98cdc389
      Nick Draper authored
      Also updated class_maker.py
      98cdc389
  7. Mar 06, 2020
  8. Mar 05, 2020
  9. Mar 03, 2020
  10. Feb 28, 2020
  11. Feb 20, 2020
  12. Feb 19, 2020
  13. Feb 18, 2020
  14. Feb 17, 2020
    • Harriet Brown's avatar
      Fix failing tests of SaveRMCProfileTest · 36c726f2
      Harriet Brown authored
      This commit fixes failing tests for SaveRMCProfileTest, assertions on number of lines were improperly counted.
      36c726f2
    • Harriet Brown's avatar
      Fix issues raised by merging · 6834e149
      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.
      6834e149
    • Harriet Brown's avatar
      Fix clang format failures. · d67b8f86
      Harriet Brown authored
      d67b8f86
    • Harriet Brown's avatar
      Create SaveRMCProfile · 81203149
      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
      81203149
  15. Feb 14, 2020
Loading