diff --git a/docs/source/api/python/techniques/ISISPowder-Tutorials.rst b/docs/source/api/python/techniques/ISISPowder-Tutorials.rst index b024311593741a057e336d8c495fa478177a0dab..c13d085e64d668e01070f7f0ea9a909883edad4d 100644 --- a/docs/source/api/python/techniques/ISISPowder-Tutorials.rst +++ b/docs/source/api/python/techniques/ISISPowder-Tutorials.rst @@ -300,6 +300,9 @@ parameters discussed to create the object (see *Note: Due to the complexity of the Polaris instrument definition it will take Mantid up to 10 minutes to load your first data set for this instrument.* +As we will be later focusing run number 95599 we can use that to ensure +the correct cycle is selected for the *first_cycle_run_no* input. + .. code-block:: python from isis_powder import Polaris @@ -307,8 +310,8 @@ Mantid up to 10 minutes to load your first data set for this instrument.* # This should be set from the previous tutorial. a_pol_obj = Polaris(....) a_pol_obj.create_vanadium(chopper_on=False, - first_cycle_run_no=TODO - do_absorb_corrections=True + first_cycle_run_no=95599, + do_absorb_corrections=True, multiple_scattering=False) Executing the above should now successfully process the vanadium run, @@ -346,6 +349,7 @@ instrument reference document: To focus the Si sample included in the ISIS data set we require the following parameters: +- *chopper_on* - Indicates what the chopper state was for this run - *input_mode* - Some instruments will not have this (in which case the data will always be summed). Acceptable values are **Individual** or **Summed**. When set to individual each run @@ -363,7 +367,7 @@ require the following parameters: set by the processed vanadium splines. This should be set to *True*. -For this tutorial the run number will be TODO, and *input_mode* +For this tutorial the run number will be 95599, and *input_mode* will not affect the result as it is a single run. .. code-block:: python @@ -372,7 +376,8 @@ will not affect the result as it is a single run. # This should be set from the previous tutorial. a_pol_obj = Polaris(....) - a_pol_obj.focus(input_mode="Individual", run_number=TODO, + a_pol_obj.focus(chopper_on=False, + input_mode="Individual", run_number=95599, do_absorb_corrections=False, do_van_normalisation=True) diff --git a/scripts/Diffraction/isis_powder/polaris_routines/Examples/polaris_cycle_map_example.yaml b/scripts/Diffraction/isis_powder/polaris_routines/Examples/polaris_cycle_map_example.yaml index ffba88488a36e68106dc603b9d13807eff3bd24b..7e61d913e8444dcc9dfa332b17f80ce12720d4e8 100644 --- a/scripts/Diffraction/isis_powder/polaris_routines/Examples/polaris_cycle_map_example.yaml +++ b/scripts/Diffraction/isis_powder/polaris_routines/Examples/polaris_cycle_map_example.yaml @@ -13,31 +13,11 @@ vanadium_run_numbers : "78338" empty_run_numbers : "78339" -93104-93107: - offset_file_name : "offsets_2011_cycle111b.cal" - label : "15_2" - chopper_on: - vanadium_run_numbers : "93105" - empty_run_numbers : "93106" - - chopper_off: - vanadium_run_numbers : "93105" - empty_run_numbers : "93106" - +# Used in ISIS Powder tutorial 95597-95599: - offset_file_name : "cycle_16_3_silicon_all_spectra.cal" - label : "16_3" - chopper_on: - vanadium_run_numbers : "95598" - empty_run_numbers : "95597" - -95600- : #95614 # Calibration run - offset_file_name : "offsets_2011_cycle111b.cal" + offset_file_name : "cycle_16_3_silicon_all_spectra.cal" label : "16_4" - chopper_on: - vanadium_run_numbers : "95603-95607,95613-95614" - empty_run_numbers : "78339" chopper_off: - vanadium_run_numbers : "95603-95607,95613-95614" - empty_run_numbers : "78339" + vanadium_run_numbers : "95598" + empty_run_numbers : "95597"