From ef4da3d0f35673c95be1e698b314844793566b11 Mon Sep 17 00:00:00 2001
From: Joe Ramsay <joseph.ramsay@stfc.ac.uk>
Date: Tue, 30 Jan 2018 11:06:22 +0000
Subject: [PATCH] Re #21663 Update HRPD default bin widths

---
 docs/source/release/v3.12.0/diffraction.rst                 | 2 +-
 docs/source/techniques/ISISPowder-HRPD-v1.rst               | 6 +++---
 .../isis_powder/hrpd_routines/hrpd_advanced_config.py       | 6 +++---
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/docs/source/release/v3.12.0/diffraction.rst b/docs/source/release/v3.12.0/diffraction.rst
index 2dc53bb4fe4..17b700312c8 100644
--- a/docs/source/release/v3.12.0/diffraction.rst
+++ b/docs/source/release/v3.12.0/diffraction.rst
@@ -26,7 +26,7 @@ Powder Diffraction
 - :ref:`LoadILLDiffraction <algm-LoadILLDiffraction>` now supports D2B files with calibrated data.
 - :ref:`PowderDiffILLReduction <algm-PowderDiffILLReduction>` and :ref:`PowderDiffILLDetEffCorr <algm-PowderDiffILLDetEffCorr>` enable the basic data reduction for D20 scanning powder diffractometer at ILL.
 - New algorithm :ref:`algm-SumOverlappingTubes` combines a detector scan for D2B into a single workspace.
-- ISIS Powder scripts for HRPD now support extra TOF windows 10-50 and 180-280
+- ISIS Powder scripts for HRPD now support extra TOF windows 10-50 and 180-280, and default bin widths have been updated
 - After calling create_vanadium and focus in ISIS Powder scripts on POLARIS, the output workspaces always contain the sample material if it is set using set_sample_material. (To view the sample material, right click the workspace and click 'Sample Material...')
 - Using grouping files with only one bank was enabled in ISIS Powder, and related errors to do with mismatched number of parameters were made more readable
 - It is now possible to set beam parameters (height and width) using instrument_object.set_beam_parameters(height=123, width=456).
diff --git a/docs/source/techniques/ISISPowder-HRPD-v1.rst b/docs/source/techniques/ISISPowder-HRPD-v1.rst
index e292d75bd4d..d2f48075d07 100644
--- a/docs/source/techniques/ISISPowder-HRPD-v1.rst
+++ b/docs/source/techniques/ISISPowder-HRPD-v1.rst
@@ -512,9 +512,9 @@ On HRPD this is set to the following:
 .. code-block:: python
 
   focused_bin_widths = [
-        -0.0005,  # Bank 1
-        -0.0005,  # Bank 2
-        -0.001    # Bank 3
+        -0.0003,  # Bank 1
+        -0.0007,  # Bank 2
+        -0.0012   # Bank 3
   ]
   
 focused_cropping_values
diff --git a/scripts/Diffraction/isis_powder/hrpd_routines/hrpd_advanced_config.py b/scripts/Diffraction/isis_powder/hrpd_routines/hrpd_advanced_config.py
index 703c8e43544..b7e7107c101 100644
--- a/scripts/Diffraction/isis_powder/hrpd_routines/hrpd_advanced_config.py
+++ b/scripts/Diffraction/isis_powder/hrpd_routines/hrpd_advanced_config.py
@@ -64,9 +64,9 @@ file_names = {
 general_params = {
     "spline_coefficient": 70,
     "focused_bin_widths": [
-        -0.0005,  # Bank 1
-        -0.0005,  # Bank 2
-        -0.001    # Bank 3
+        -0.0003,  # Bank 1
+        -0.0007,  # Bank 2
+        -0.0012   # Bank 3
     ],
     "mode": "coupled"
 }
-- 
GitLab