N. J. Draper (STFC ISIS Facility)
Mantid is an extensible data reduction and analysis framework for neutron and muon data that is independent of instrument and analysis technique. Mantid is a joint collaboration that was started between ISIS and Tessella and has recently been joined by ORNL incorporating the SNS and HFIR facilities.
The Mantid framework comes with a range of data transformation algorithms, but also allows users to expand this with their own tailored analysis algorithms. In order to be instrument independent Mantid maintains a full virtual instrument geometry which is available to data transformation algorithms and also allows 3D instrument visualization. Various input and output file formats are supported including NeXus files and loading direct from the data acquisition electronics. Mantid has been developed to take the best advantage of all of the facilities of the available hardware, using all available processing cores and seamlessly switching from storing the data in physical memory to using the computer’s hard drive.
Mantid can be easily extended using a plug-in mechanism to add further user-defined algorithms, data structures and file formats. Care has been taken to isolate as much complexity as possible from the areas that may be extended by users, while providing them with powerful objects to manipulate their data. Mantid has been developed using object-oriented C++ for execution performance and portability. We use the GPL open source license to encourage code reuse, both through using external libraries such as GSL, but also encouraging others to reuse Mantid code. Mantid currently provides C++, Python and MATLAB APIs and is available for Windows, Linux and Mac environments.
MantidPlot, a generic visualization and algorithm execution application, is the first graphical user interface that has been developed to use Mantid. It provides flexible graphing, visualization and advanced Python scripting capabilities. I will also introduce the more advanced multidimensional visualization subproject we are currently developing providing 4 dimensional visualization and analysis of n-dimensional data.
Mantid is currently in use on several instruments in both Target stations at ISIS, and the ExED instrument at the HMI. Rollout for the SNS and HFIR is currently being planned. While Mantid was originally developed to support Neutron data, there is very little within it that is specific to neutrons, indeed it already supports Muon analysis at ISIS. The Mantid project is being developed and released publicly (www.mantidproject.org) under the GNU General Public License for use within the wider diffraction and scattering community.
Diamond Light Source is the UK's national synchrotron science facility, located at the Harwell Science and Innovation Campus in Oxfordshire.
Copyright © 2017 Diamond Light Source
Diamond Light Source Ltd
Harwell Science & Innovation Campus