Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/mantidproject/mantid.git. Pull mirroring updated .
  1. Apr 03, 2020
    • Gemma Guest's avatar
      Add unit tests for background subtraction in gui · 3518e091
      Gemma Guest authored
      Also do some minor tidying of existing tests and add a missing polarization correction test.
      
      Re #27826
      3518e091
    • Gemma Guest's avatar
      Expose background subtraction options in GUI · 03c7a7d0
      Gemma Guest authored
      Expose the background subtraction options in ReflectometryISISLoadAndProcess in the ISIS Reflectometry interface. The background processing instructions need to be specified on a per-angle basis so these are added to the Per-Angle Defaults table. The other options can be specified as defaults for all runs so are added as their own widgets on the Experiment Settings tab.
      
      Re #27826
      03c7a7d0
  2. 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
      Updated mantid copyright statement to add CSNS · 98cdc389
      Nick Draper authored
      Also updated class_maker.py
      98cdc389
  3. Mar 02, 2020
    • Martyn Gigg's avatar
      Convert MAC line endings to UNIX for CHESS · aab72a5d
      Martyn Gigg authored
      Mac-only eol characters confuse our checksum calculator
      and causes the IDF to be downloaded even when this is not
      necessary and the downloaded content matches the installed
      content
      aab72a5d
  4. Feb 21, 2020
  5. Feb 14, 2020
  6. Feb 12, 2020
    • Danny Hindson's avatar
      Upload correct Sample stl file · c193fd18
      Danny Hindson authored
      c193fd18
    • Danny Hindson's avatar
      Changes to support loading multi-part mesh environment from spec xml file · 7a20e4dd
      Danny Hindson authored
      The format of the sample environment xml file has been extended to support
      loading a .stl file for each environment component. An example spec file
      has been created in ISIS/Pearl.xml. This can be used when running the
      Algorithm SetSample
      Various SampleEnvironmentXXX units have been moved out the Geometry package
      into the DataHandling package to facilitate this because they needed to
      access the STL loading code in DataHandling
      SetSample contains some features for overriding the sample geometry if the
      geometry is a CSGObject. This has been sidestepped for mesh geometries.
      The methods setId and setMaterial have been moved up to IObject because
      it's useful to have them applicable to all objects (CSG, mesh)
      Some of the repeated code in SetSample, LoadSampleEnvironment (and now
      SampleEnvironmentSpecParser) has been centralised in a new class LoadStlFactory
      Also changed container logic so that if there's only one container specified
      in the env spec file you don't need to specify it in SetSample
      Centralise code relating to scaling mesh vertices and handling of units
      into the LoadShape class and rename it MeshFileIO now that SaveStl is also
      descended from this class
      Move repeated code to choose Ascii or binary STL reader into a factory class
      7a20e4dd
  7. Feb 04, 2020
  8. Jan 30, 2020
  9. Jan 29, 2020
  10. Jan 24, 2020
  11. Jan 23, 2020
  12. Jan 22, 2020
  13. Jan 21, 2020
  14. Jan 17, 2020
  15. Jan 16, 2020
  16. Jan 14, 2020
  17. Jan 13, 2020
  18. Jan 09, 2020
  19. Jan 06, 2020
  20. Jan 03, 2020
  21. Jan 02, 2020
  22. Dec 19, 2019
  23. Nov 19, 2019
  24. Nov 15, 2019
    • WHITFIELDRE email's avatar
      Rewrite the HB3A IDF · dae3ed92
      WHITFIELDRE email authored
      Almost entire rewrite, simplfy everything. Use the det_trans log value instead of hard coded value. Remove all the cal:: values, the calibration will be set in the IDF. Correct the detector positions relative to the beam (centered on pixel (256, 268) and the calibrated detector gap of 5mm.
      dae3ed92
  25. Nov 11, 2019
  26. Nov 08, 2019
  27. Nov 07, 2019
  28. Nov 05, 2019
Loading