Diffraction Changes#
Powder Diffraction#
New features#
POLARIS now provides sensible starting parameters for Back2BackExponential
AlignAndFocusPowderSlim v1 now accepts a
CalibrationWorkspaceand aMaskWorkspace. When supplied, these take precedence over the corresponding information inCalFileName. AlignAndFocusPowderFromFiles v1 has been updated to pass these parameters to AlignAndFocusPowderSlim v1.
Bugfixes#
CylinderAbsorptionCW now scales the
AttenuationXSectionproperty from its tabulated 1.7982 Å value to the requestedWavelength. Previously cross-sections provided through the properties were used unscaled, so they gave a different result to the same cross-sections set on the sample material with SetSampleMaterial v1 at any wavelength other than 1.7982 Å.ISIS Powder SampleDetails now accepts a
number_density_unitsargument which can be set appropriately to fix issues where total scatteringS(Q)-1does not tend to 0 at high Q when number density has been provided as: formula units per volume (see number_density_unit).Fixed the binning of HFIRPowderReduction v1. The bins are now placed on a grid of
XBinWidthanchored atXMin, or at zero whenXMinis not given, so bin centres always fall onXMin + XBinWidth * (n + 1/2). Previously aXMin(orXMax) outside the range of the data was replaced by the extreme value found in the data, which shifted every bin and made the bins slightly wider thanXBinWidth.XMinandXMaxare now both optional and take a single number rather than a list of per-spectrum values, and only the bins that hold data are output.Fixed HFIRPowderReduction v1 producing incorrect results when SampleBackgroundFilename was supplied. The sample background was subtracted without being normalised to monitor or time, and
SampleBackgroundScaleFactorwas ignored.Fixed CylinderAbsorptionCW Sabine calculation for large μR
Removed#
The obsolete properties
UnwrapRef,LowResRefandLowResSpectrumOffsethave been removed from AlignAndFocusPowder, AlignAndFocusPowderFromFiles and SNSPowderReduction.
Engineering Diffraction#
New features#
New Texture Planning User Interface for aiding the user in planning and executing Texture Analysis experiments. See the linked docs for more information.
In Engineering Diffraction interface the settings now supports saving experiment specific settings, based on RB Number. Previous behaviour was that every time a setting was changed it would overwrite the previous saved version of the setting, where as now, it will overwrite the previous version saved for that RB Number. This allows users to return to experiments and find have specific settings have been remembered.
In
Engineering.EnggUtils, focusing using thefocus_runmethod will now adjust the calibration DIFCs per detector pixel to account for an offset in the scattering volume centre-of-mass (due to sample partially illuminated within the gauge volume). This is only done when both a Sample Shape and Gauge Volume are present on the Workspace.In Engineering Diffraction interface the GSASII tab now supports CIF file selection from a list of defaults distributed with Mantid.
Bugfixes#
Single Crystal Diffraction#
New features#
HB3AAdjustSampleNorm v1 can now output an unnormalized Q-sample event workspace and a separate normalization workspace for use with MDNorm v1.
SCDCalibratePanels has a new
WavelengthFromUBoption to derive each peak’s wavelength from Bragg’s law using the UB matrix and its integer HKL instead of from the measured TOF. This is intended for quasi-Laue workflows, where a peak’s TOF-derived wavelength can be unreliable, but it also works for standard time-of-flight Laue data.On WISH the Back2BackExponential starting parameter values have been updated post upgrade, late 2025
Added the FindUBFromConventionalCell algorithm, which determines a UB matrix (crystal orientation) from unindexed peaks and the known conventional-cell lattice parameters and centering.
MDNorm can now normalize monochromatic single crystal diffraction data (e.g. WAND, DEMAND) using a pre-computed normalization workspace, via the new
MonoSCDNormalizationWorkspaceproperty.
Bugfixes#
SaveIsawDetCal v1 and SaveIsawPeaks v1 now record the calibrated positions of CORELLI detector panels. Since Mantid 6.15.0.1 they wrote the nominal positions taken from the instrument definition, so a panel calibration was silently absent from the
.DetCaland.peaksfiles they produced. SaveIsawPeaks v1 also wrote nominal panel orientations and sizes, which affected WISH as well as CORELLI. CORELLI and WISH files written with an affected version should be regenerated.SaveHKL v1 and AnvredCorrection v1 now use the calibrated detector distance in the slant-path absorption correction for CORELLI, having used the nominal distance since Mantid 6.15.0.1.
Fixed the
Countsvanadium normalization option in LoadWANDSCD v1 so detector counts are scaled by the mean vanadium signal when applying the vanadium correction.