From 7a801abe3e9e78c5643246e47e1c192599973151 Mon Sep 17 00:00:00 2001 From: "Adam J. Jackson" <a.j.jackson@physics.org> Date: Tue, 7 Jan 2020 14:51:12 +0000 Subject: [PATCH] Abins broadening: Release notes (And a typo in one of the test cases.) --- docs/source/release/v4.3.0/indirect_geometry.rst | 15 +++++++++++++++ scripts/test/Abins/AbinsBroadeningTest.py | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/docs/source/release/v4.3.0/indirect_geometry.rst b/docs/source/release/v4.3.0/indirect_geometry.rst index a452189d03a..a9998661616 100644 --- a/docs/source/release/v4.3.0/indirect_geometry.rst +++ b/docs/source/release/v4.3.0/indirect_geometry.rst @@ -10,6 +10,21 @@ Indirect Geometry Changes improvements, followed by bug fixes. +Improvements +############ + +- In Abins the instrumental broadening implementation has been overhauled. + + - Output spectra from Abins should now be smooth and free of artefacts. + - A fast approximate scheme is implemented and automatically applied + when appropriate for simulations of TOSCA spectra. Alternative + broadening implementations may be selected through the + AbinsParameters system, including slow reference methods. + - Spectra now follow the broader Mantid convention for histograms: + values correspond to frequencies at the mid-points of the + histogram bins. (Previously the values would correspond to one + bin-edge.) + BugFixes ######## diff --git a/scripts/test/Abins/AbinsBroadeningTest.py b/scripts/test/Abins/AbinsBroadeningTest.py index fc49f222f21..917aae8783b 100644 --- a/scripts/test/Abins/AbinsBroadeningTest.py +++ b/scripts/test/Abins/AbinsBroadeningTest.py @@ -59,7 +59,7 @@ class AbinsBroadeningTest(unittest.TestCase): self.assertAlmostEqual(sum(curve), 1) - def test_noraml_sum(self): + def test_normal_sum(self): """Check that normally-distributed kernel sums to unity""" # Note that unlike Gaussian kernel, this totals intensity 1 even with absurdly large bins -- GitLab