McStas logo McStas - A neutron ray-trace simulation package ILL; PSI; ESS Niels Bohr Institute DTU Physics NEXMAP


About McStas
 Conditions of use
 Project funding

 Linux Install (deb/rpm)
 Mac OS X Install
 Unix Install (src code)
 Windows Install
 Other Downloads (share)

Mailing list

Search web/mailinglist

 McStas manual
 Known problems
 C Compilers




Report bugs


McStas Ubuntu live-dvd

McStas - A neutron ray-trace simulation package

McStas is a general tool for simulating neutron scattering instruments and experiments. It is actively supported by DTU Physics, NBI KU, ESS, PSI and ILL

Simulated scattering from a hollow-cylinder vanadium sample.

The plot shows the intensity of scattered neutrons (red is highest intensity). The sample is at the center of the sphere with the neutron beam coming from the left. Clearly seen is the shadowing effect of the sample causing a lower intensity opposite the beam. Also seen is the effect of the non-symmetric geometry of the sample, causing lower intensity directly above and to the side of the sample.

Recent news

March 17th, 2017: Video presentation about using iFit with McStas by Emmanuel Farhi (ILL)

Dear all,

Emmanuel Farhi (McStas team & ILL Spectroscopy Group) visited the ESS DMSC in Copenhagen today and gave a nice talk about using iFit and McStas together. The presentation was recorded and is now available for viewing online here. Further information below:

Using iFit to control McStas simulations, and more.

The iFit tool will be presented. It is a generic data analysis and fitting infrastructure. A special focus will be put on the ability to launch McStas simulations, and retrieve the monitor data. The fitting capability of iFit allows to optimise a defined figure of merit (e.g. monitor or so) by changing the instrument parameters. This type feature is for instance used in the guide-bot from Mads Bertelsen, but it is applicable to any instrument model. Other features will be presented, such as the 4D convolution of a McStas TAS-type instrument with an 4D S(q,w) dispersion volume, which could be used for e.g. Bifrost. More on

Previous news items: 2016, 2015, 2014, 2013, 2012, 2011, 2010, 2009, 2008, 2007, 2006, 2005, 2004, 2003,2002, 2001, 2000, 1999, 1998.

Last Modified: Wednesday, 19-Apr-2017 12:57:02 CEST
Search website mailinglist archive GitHub repos