Mantid Overview

What is Mantid?

The Mantid Framework is used for data reduction and analysis of neutron and muon scattering data. Mantid can be used via a Graphical User Interface, MantidPlot, or it can be used purely from Python. Information on using both of these is given in the this training course. It is written in a mix of C++ and Python, C++ is generally used where performance is important, while parts written in Python provide code that is easier to understand.

../../../_images/Mantid_structure.png

The Mantid Collaboration

The Mantid project is an international collaboration between ISIS (2007), Oak Ridge National Lab (2010), the ESS (2015) and the ILL (2016). There are also a number of other contributing organisations that use Mantid such as the MLZ, the PSI and ANSTO.

../../../_images/Mantid_collaboration.png

MantidPlot

MantidPlot exists to provide an easier way to work with the data for those who prefer an interface, but all data manipulation functionality is available from both. Python scripts can also be run inside MantidPlot from the script window or interactive terminal.

../../../_images/MantidPlot.png

Python

For information on running Mantid from stand-alone Python see the Python and Mantid section. Once setup Mantid can be used by adding the following import to your Python script:

from mantid.simpleapi import *

New Workbench

A new workbench is in development for Mantid, which will initially be an optional alternative to MantidPlot, but will eventually replace it. The general behaviour will be similar to that of the current MantidPlot, but it will take approach closer to that of Matlab, and use Matplotlib for the plotting functionality.