diff --git a/docs/source/techniques/ISISPowder-Polaris-v1.rst b/docs/source/techniques/ISISPowder-Polaris-v1.rst index 5c530a6fc50451a5fade5f9db28f3bf49d0e204c..02106230fd4bdc6ce1610099c2e146c1140d2d8b 100644 --- a/docs/source/techniques/ISISPowder-Polaris-v1.rst +++ b/docs/source/techniques/ISISPowder-Polaris-v1.rst @@ -168,9 +168,9 @@ The *create_total_scattering_pdf* method allows a user to create a Pair Distribu from focused POLARIS data, with a view performing further total scattering analysis. With no merging criteria specified, *merge_banks=False* a PDF will be generated for each bank within -the focused_workspace. The type of PDF output can be set with the kayword argument `pdf_type`, with the +the focused_workspace. The type of PDF output can be set with the keyword argument `pdf_type`, with the option of `G(r)`, `g(r)`, `RDF(r)` (defaults to `G(r)`). If run with *merge_banks=True* a PDF will be -generated based on the wighted sum of the detector banks performed using supplied Q limits +generated based on the weighted sum of the detector banks performed using supplied Q limits *q_lims=q_limits*, Q_limits can be in the form of a numpy array with shape (2, x) where x is the number of detectors, or a string containing the directory of an appropriately formatted `.lim` file. diff --git a/scripts/Diffraction/isis_powder/polaris.py b/scripts/Diffraction/isis_powder/polaris.py index 5f1f76451d8f5f3f8228c5b7573ba7af79747e58..c2454457bbad6a7dd3b1b4103f1ee4738c24a365 100644 --- a/scripts/Diffraction/isis_powder/polaris.py +++ b/scripts/Diffraction/isis_powder/polaris.py @@ -10,6 +10,7 @@ import os from isis_powder.routines import absorb_corrections, common, instrument_settings from isis_powder.abstract_inst import AbstractInst from isis_powder.polaris_routines import polaris_advanced_config, polaris_algs, polaris_param_mapping +from mantid.kernel import logger class Polaris(AbstractInst): @@ -53,7 +54,7 @@ class Polaris(AbstractInst): kwargs['q_lims'] = None if 'pdf_type' not in kwargs or not kwargs['pdf_type'] in ['G(r)', 'g(r)', 'RDF(r)']: kwargs['pdf_type'] = 'G(r)' - print('PDF type not specified or is invalid, defaulting to G(r)') + logger.warning('PDF type not specified or is invalid, defaulting to G(r)') self._inst_settings.update_attributes(kwargs=kwargs) # Generate pdf run_details = self._get_run_details(self._inst_settings.run_number)