Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/mantidproject/mantid.git. Pull mirroring updated .
  1. Mar 27, 2020
  2. Mar 20, 2020
  3. Mar 18, 2020
  4. Mar 16, 2020
  5. Feb 25, 2020
  6. Feb 24, 2020
  7. Feb 21, 2020
    • Mathieu Tillet's avatar
      Adds system test for autoprocess · 75d97921
      Mathieu Tillet authored
      75d97921
    • RichardWaiteSTFC's avatar
      Updated test values in system test · 420010e4
      RichardWaiteSTFC authored
      The stdDev function that was deleted in this branch often returns different values  than the 'correct' value which is sqrt(eigenvalue)  - which is now used. Typically the difference is  <0.5%, however occasionally the stdDev function returned a std deviation that is unrealistically small (by two orders of magnitude), this behavior is not as yet understood, but since the function is no longer used it is appropriate to change the test values.
      420010e4
    • Gemma Guest's avatar
      Update system tests with transmission binning fix · 2c06675e
      Gemma Guest authored
      This commit updates the reference files for tests where the transmission
      workspace is output from ReflectometryReductionOne. The refactored code
      in this PR has introduced a fix in this algorithm to output the
      transmission workspace after it has been rebinned to detectors.
      Previously it was output before the rebin step, hence the minor
      differences in the output. Note however that the final results of the
      reduction (IvsQ workspaces) are unchanged.
      
      This commit also moves the code to set the output workspace to the
      bottom of the function that does the transmission correction, to help
      avoid a similar problem happening again.
      
      Re #27633
      2c06675e
    • Gemma Guest's avatar
      Fix problems with output property lists · b9277f06
      Gemma Guest authored
      When assigning to a list of outputs when calling the algorithm in
      python, the outputs must be specified in the order they are declared,
      even if they are optional outputs like IvsLam. This means that if we
      want to specify the transmission workspace output we must first specify
      IvsLam even if debug is false. Some of the algorithms always output
      IvsLam if the name was given whereas others did not. They now always
      output it if the name is given.
      
      Note that this means you may now get an error if you don't supply enough
      arguments whereas previously it was ok. It is ok if you just specify the
      IvsQ output(s) but beyond that we do not know whether the output should
      be IvsLam or the transmission, so we require all of them, hence the
      error. This is better than it assigning an unexpected output so I think
      is ok, and is the only way I can think to do this.
      
      Re #27633
      b9277f06
    • Gagik Vardanyan's avatar
      set as distribution also for BATS · cca9e4bb
      Gagik Vardanyan authored
      cca9e4bb
    • Gagik Vardanyan's avatar
  8. Feb 19, 2020
  9. Feb 17, 2020
    • Adam J. Jackson's avatar
      Abins thresholding: update system tests · 68c0519f
      Adam J. Jackson authored
      System tests for Abins are modified to calculate up to second-order
      excitations only (as third and fourth-order are currently disabled.)
      
      In addition, the test data for two other tests needs updating;
      BezeneBinWidthCASTEP and TolueneScale have small changes in the
      results. This is associated with a more conservative criterion for
      discarding small values compared to the previous system; results
      similar to the previous setup can be obtained by modifying the
      threshold used in
      SPowderSemiEmpiricalCalculator._calculate_s_over_threshold
      68c0519f
  10. Feb 13, 2020
  11. Feb 10, 2020
  12. Feb 06, 2020
  13. Feb 04, 2020
    • David Fairbrother's avatar
      Re #27664 Use Adapters with SANS State · 736b8213
      David Fairbrother authored
      Adapt the command interface and user file parser to use sans state
      objects, instead of the new containers (which duplicated the data
      objects).
      
      This is a large PR as we must change all call sites, partially unlink
      the reading of run data (the dict converter still takes data info which
      needs fixing), and create classes that facade the building process
      
      As the state folder was starting to fill I also took this chance to move
      them into their own package, so we have a seperation of data and impl
      736b8213
    • Harriet Brown's avatar
      Add test for new functionality for powder polaris · 7219651a
      Harriet Brown authored
      This commit adds system tests for the new fourier filter in powder polaris.
      
      re: 27773
      7219651a
    • Gagik Vardanyan's avatar
      4dc26334
  14. Feb 03, 2020
    • Gagik Vardanyan's avatar
      839b0614
    • Danny Hindson's avatar
      Only use NumberOfWavelengthPoints if resimulating tracks · d48169a8
      Danny Hindson authored
      A new boolean parameter SimulateTracksForEachWavelength has been added to
      the MonteCarloAbsorption algorithm. This exposes a switch on the MCAbsorptionStrategy
      that was present before this change but was hardcoded to False.
      
      The parameter NumberOfWavelengthPoints is only required if SimulateTracksForEachWavelength
      is set to True. This change means that an attenuation factor is calculated for all wavelength
      bins if SimulateTracksForEachWavelength=false. To facilitate this a performance enhancement
      has been made to the Material class to calculate the total scatter cross section and the
      absorption cross section once when the Material rather than every time these cross sections
      are retrieved by the MonteCarloAbsorption calculation.
      
      This change required some unit and system tests to be updated eg ILLDirectGeometryReductionTest
      has been changed to remove the NumberOfWavelengthPoints parameter and the reference file to be
      updated. To make this test more robust I have increased the number of scenarios used in the MC
      simulation from 5000 to 20000
      d48169a8
  15. Feb 02, 2020
  16. Jan 30, 2020
  17. Jan 29, 2020
  18. Jan 28, 2020
    • Danny Hindson's avatar
      Add switch to allow the same tracks to be reused for different lambas · 504bdb4f
      Danny Hindson authored
      A switch has been added to the MCAbsorptionStrategy class that allows a pair
      of before scatter\after scatter tracks to be used to calculate the attenuation
      for a range of different lambda values. This will improve the speed of the Monte
      Carlo calculation. The Monte Carlo calculation currently sets the switch to
      reuse the tracks without exposing this in the algorithm parameters - I've mainly
      left the "old" approach in place in case any further wavelength dependent effects
      are added to the absorption calculation eg beam spreading
      
      In order to add the reuse while retaining the original behaviour (via the switch),
      I had to reverse the order of the event and lambda loops. The previous code looped
      over lambda with an inner loop of events. The event loop is now the outer loop, so
      even with the switch set to not reuse tracks the results will change slightly if
      the simulation isn't converged
      
      The function MCInteractionVolume::calculateAbsorption has been split into two:
      - track generated done in calculateBeforeAfterTrack
      - absorption calculation done in calculateAbsorption
      
      The relevant unit and system tests have been adjusted. In particular the tests in
      MCInteractionVolumeTest have been split out so the track generation and absorption
      calculation are tested separately
      504bdb4f
    • Gagik Vardanyan's avatar
      Re #27801 added system test · bf709303
      Gagik Vardanyan authored
      bf709303
  19. Jan 23, 2020
  20. Jan 21, 2020
Loading