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

 Other Downloads (share)

Mailing list

Search web/mailinglist

 McStas manual
 Known problems



Links <- UPDATED!

Report bugs


McStas: templateSANS_Mantid Instrument at Mantid

[ Identification | Description | Input parameters | Output parameters | Links ]

The templateSANS_Mantid Instrument

Test instrument for the Sans_spheres component. No guide / velocity selector etc. Will be developed further at later time.


  • Site: Mantid
  • Author: Kim Lefmann
  • Origin: Risoe
  • Date: 19th Dec 2003.
  • Version:(Unknown)


Very simple test instrument for the Sans_spheres componen

Modified to show a proof of concept method for storing a 'Mantid friendly' type of NeXus file.

Needed steps:
1) Compile your instrument with NeXus library support
2) Generate an IDF using mcdisplay templateSANS_Mantid --format=Mantid -n0
3) mcrun templateSANS_Mantid -n1e6 --format=NeXus

Example: lambda=6 Detector: detector_I=7.20015e+06

Input parameters

Parameters in boldface are required; the others are optional.
Name Unit Description Default
lambda AA Mean wavelength of neutrons 6
dlambda AA Wavelength spread of neutrons 0.05
r AA Radius of scattering hard spheres 150
PHI 1 Particle volume fraction 1e-3
Delta_Rho fm/AA^3 Excess scattering length density 0.6
sigma_abs barns Absorption cross section at 2200 m/s 0.0


[ Identification | Description | Input parameters | Output parameters | Links ]

Generated automatically by McDoc, Peter Willendrup <> / Tue May 26 13:03:59 2020

Last Modified: Tuesday, 26-May-2020 15:03:59 CEST
Search website mailinglist archive GitHub repos