Table of Contents
Warning
Users: Instruments in Mantid will no longer silently discard detectors defined with duplicate IDs. This has been a long-standing source of hard to find issue in Mantid. We have endeavoured to ensure that all Instrument Definition Files shipped with Mantid are now corrected. If you have local IDFs, please update them to remove any duplicate IDs, or ask the Mantid Team for help, the warning and error information in Mantid will give details about duplicates in IDFs that cannot be loaded.
Beware that LoadNexusProcessed will now NOT load the Instrument from historic Processed Nexus files if the embedded IDF is corruped with duplicate detector IDs. The workspace (data) part will still load, but the workspace will not have any Instrument attached. There are new warnings generated that describe the exact problem and the remedy when this happens. Note that the fix is generally easy. You should be able to run LoadInstrument on the Workspace, pointing it to an updated IDF, which is free of duplicates.
Please contact the Mantid Team if you experience any further problems as a result of these changes.
LoadInstrument
is used with RewriteSpectraMapping=True
. See also the algorithm documentation for details.CostFunction = 'Unweighted least squares'
.SpectraList
property is still supported.EvolChi
and EvolAngle
workspaces now only contain data up until the result has converged.PeaksWorkspace
with integrated peaks that have missing radius information.ConfigObserver
for listening for changes to any configuration property and ConfigPropertyObserver
for listening to changes to an individual config property of interest.mantid.kernel.FloatTimeSeriesProperty
now returns numpy.datetime64
for the log times.debug
.table.toDict()
function.MultiFileProperty
now accepts complex summation ranges for run numbers, such as 111-113+115
and 111-115+123-132
.datasearch.searcharchive
property has new functionality to only search the default facility.Material
.UpdateInstrumentDefinitions.OnStartup
in the properties file. It was not being used correctly for using the updated Facilities.xml
file.ChiTarget
property has been replaced by ChiTargetOverN
.mantid.api.IPeak
has three new functions:getEnergyTransfer
which returns the difference between the initial and final energy.getIntensityOverSigma
which returns the peak intensity divided by the error in intensity.getGoniometerMatrix
which returns the goniometer rotation matrix associated with the peak.mantid.simpleapi
, a keyword has been implemented for function-like algorithm calls to control the storing on the Analysis Data Service.StoreInADS=False
can be passed to function calls to not to store their output on the ADS.+
, +=
, etc., now work also with workspaces not in the ADS.isDefault
attribute for workspace properties now works correctly with workspaces not in the ADS.ConfigObserver
and ConfigPropertyObserver
classes are also exposed to Python.mantid.kernel.V3D
vectors now support negation through the usual -
operator.from mantid.simpleapi import *
import json
source = json.loads('{"Filename":"CNCS_7860_event.nxs"}')
props = json.loads('{"InputWorkspace":"eventWS", "Params":"1000"}')
eventWS = Load(**source)
rebinned = Rebin(**props)